diff --git a/src/plugins/qmljseditor/qmljseditorfactory.cpp b/src/plugins/qmljseditor/qmljseditorfactory.cpp index 99bea71fb0e1e884436984ca0d940fc7c91c54ca..61d30e9247e97987b1061574c8db808706d0dfa9 100644 --- a/src/plugins/qmljseditor/qmljseditorfactory.cpp +++ b/src/plugins/qmljseditor/qmljseditorfactory.cpp @@ -176,6 +176,7 @@ void QmlJSEditorFactory::activateQmlDesigner() disconnect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)), this, SLOT(updateEditorInfoBar(Core::IEditor*))); Core::EditorManager::instance()->hideEditorInfoBar(QMLDESIGNER_INFO_BAR); + neverAskAgainAboutQmlDesigner(); return; } } @@ -188,6 +189,7 @@ void QmlJSEditorFactory::neverAskAgainAboutQmlDesigner() settings->beginGroup(QLatin1String(KEY_QMLGROUP)); settings->setValue(QLatin1String(KEY_NAGABOUTDESIGNER), false); settings->endGroup(); + settings->sync(); disconnect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)), this, SLOT(updateEditorInfoBar(Core::IEditor*))); }