QmlJSInspector: Set the correct state of show-app-on-top

For this option it would actually be better to reapply the state of the
toggle button to the restarted QtQuick application rather than resetting
the state of the button.
This commit is contained in:
Thorbjørn Lindeijer
2011-02-08 20:08:03 +01:00
parent 3e06015b4d
commit 2c734ee9c1

View File

@@ -106,6 +106,7 @@ void QmlInspectorToolBar::enable()
{ {
setEnabled(true); setEnabled(true);
m_emitSignals = false; m_emitSignals = false;
m_showAppOnTopAction->setChecked(false);
m_observerModeAction->setChecked(false); m_observerModeAction->setChecked(false);
setAnimationSpeed(1.0f); setAnimationSpeed(1.0f);
activateDesignModeOnClick(); activateDesignModeOnClick();