diff options
author | Alessandro Portale <[email protected]> | 2024-07-22 15:27:34 +0200 |
---|---|---|
committer | Alessandro Portale <[email protected]> | 2024-07-22 19:55:45 +0000 |
commit | 931f55200b60260060ad59c9860d5fff965849eb (patch) | |
tree | 64230681d35a49a9036f8f65f17d2777531048a2 /src/plugins/extensionmanager/extensionmanagerwidget.cpp | |
parent | eee3fc69070355d50f2223d49a0bcbe5137d11c1 (diff) |
ExtensionManager: Keep "Load on Start" checkbox up to date
If a plugin was selected in the ExtensionManager, and meanwhile, the
"load" status of that plugin was changed via the plugin dialog, the
change was not reflected in the ExtensionManager.
This change connects the "Load on Start" checkbox in the
ExtensionManager with the PluginManager's "changed" signal to keep the
state in sync.
Fixes: QTCREATORBUG-31177
Change-Id: I6946e23e8491e9c896026b55315acf76bb50cb92
Reviewed-by: Cristian Adam <[email protected]>
Diffstat (limited to 'src/plugins/extensionmanager/extensionmanagerwidget.cpp')
-rw-r--r-- | src/plugins/extensionmanager/extensionmanagerwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/extensionmanager/extensionmanagerwidget.cpp b/src/plugins/extensionmanager/extensionmanagerwidget.cpp index 2ac839d98f0..9ce803e6f02 100644 --- a/src/plugins/extensionmanager/extensionmanagerwidget.cpp +++ b/src/plugins/extensionmanager/extensionmanagerwidget.cpp @@ -279,6 +279,8 @@ public: } }); + connect(ExtensionSystem::PluginManager::instance(), + &ExtensionSystem::PluginManager::pluginsChanged, this, &PluginStatusWidget::update); connect(m_restartButton, &QAbstractButton::clicked, ICore::instance(), &ICore::restart, Qt::QueuedConnection); |