aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/insight/insightmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/insight/insightmodel.cpp')
-rw-r--r--src/plugins/insight/insightmodel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/insight/insightmodel.cpp b/src/plugins/insight/insightmodel.cpp
index 64cb8f90a1..4fe987a597 100644
--- a/src/plugins/insight/insightmodel.cpp
+++ b/src/plugins/insight/insightmodel.cpp
@@ -9,6 +9,7 @@
#include <plaintexteditmodifier.h>
#include <rewriterview.h>
#include <signalhandlerproperty.h>
+#include <qmldesignerplugin.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projecttree.h>
@@ -452,6 +453,11 @@ void InsightModel::setEnabled(bool value)
if (!m_qtdsConfigInfo.exists())
writeJSON(m_qtdsConfigInfo.absoluteFilePath(), m_qtdsConfig);
}
+
+ m_enabled = value;
+ setAuxiliaryEnabled(m_enabled);
+
+ QmlDesignerPlugin::instance()->viewManager().resetPropertyEditorView();
}
QString InsightModel::token() const