forked from qt-creator/qt-creator
Inspector: Enable/disable tools on engine state
On a debug break, inspector tools cannot be used as the gui thread is blocked. Task-number: QTCREATORBUG-5466 Change-Id: I808d751b1ade7e4a5c98e87fec7bb4cb02715ad8 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
committed by
Kai Koehne
parent
3271af9292
commit
1b916719d0
@@ -559,18 +559,12 @@ DebuggerSettings::DebuggerSettings(QSettings *settings)
|
||||
const QString qmlInspectorGroup = QLatin1String("QML.Inspector");
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(qmlInspectorGroup, QLatin1String("QmlInspector.ShowAppOnTop"));
|
||||
item->setText(tr("Show Application On Top"));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(false);
|
||||
item->setIcon(QIcon(QLatin1String(":/debugger/images/qml/app-on-top.png")));
|
||||
insertItem(ShowAppOnTop, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(qmlInspectorGroup, QLatin1String("QmlInspector.FromQml"));
|
||||
item->setText(tr("Apply Changes on Save"));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(false);
|
||||
item->setIcon(QIcon(QLatin1String(":/debugger/images/qml/apply-on-save.png")));
|
||||
insertItem(QmlUpdateOnSave, item);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user