Skip to content

Commit d2a9fb7

Browse files
committed
Refresh plugin list after a plugins scan. Fixes #4505
1 parent c91e1dc commit d2a9fb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

qt/OpenRGBDialog2/OpenRGBDialog2.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,7 @@ void OpenRGBDialog2::onDetectionEnded()
15461546
{
15471547
plugin_manager->ScanAndLoadPlugins();
15481548
plugins_loaded = true;
1549+
PluginsPage->RefreshList();
15491550
}
15501551

15511552
if(device_view_showing)

qt/OpenRGBPluginsPage/OpenRGBPluginsPage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class Ui::OpenRGBPluginsPage : public QWidget
2828
~OpenRGBPluginsPage();
2929

3030
void on_EnableButton_clicked(OpenRGBPluginsEntry* entry);
31+
void RefreshList();
3132

3233
private slots:
3334
void changeEvent(QEvent *event);
@@ -45,5 +46,4 @@ private slots:
4546
std::vector<OpenRGBPluginsEntry*> entries;
4647

4748
bool InstallPlugin(std::string path);
48-
void RefreshList();
4949
};

0 commit comments

Comments
 (0)