debugger: re-enable snapshot creation using the menu action

This commit is contained in:
hjk
2010-07-21 09:42:33 +02:00
parent 588d44c5c0
commit d9e445bbe8
8 changed files with 11 additions and 11 deletions

View File

@@ -214,10 +214,10 @@ bool SnapshotHandler::setData
(const QModelIndex &index, const QVariant &value, int role)
{
Q_UNUSED(value);
if (index.isValid() && role == RequestMakeSnapshotRole) {
if (index.isValid() && role == RequestCreateSnapshotRole) {
DebuggerEngine *engine = engineAt(index.row());
QTC_ASSERT(engine, return false);
engine->makeSnapshot();
engine->createSnapshot();
return true;
}
if (index.isValid() && role == RequestActivateSnapshotRole) {