forked from qt-creator/qt-creator
allow in-line editing of watcher expressions
This commit is contained in:
@@ -264,6 +264,11 @@ void QtcSettingsItem::actionTriggered(bool on)
|
||||
}
|
||||
}
|
||||
|
||||
void QtcSettingsItem::trigger(const QVariant &data) const
|
||||
{
|
||||
m_action->setData(data);
|
||||
m_action->trigger();
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@@ -376,6 +381,9 @@ QtcSettingsPool *theDebuggerSettings()
|
||||
instance->insertItem(WatchExpressionInWindow, item);
|
||||
item->setTextPattern(QObject::tr("Watch expression \"%1\" in separate window"));
|
||||
|
||||
item = new QtcSettingsItem(instance);
|
||||
instance->insertItem(AssignValue, item);
|
||||
|
||||
//
|
||||
// Dumpers
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user