Add support for loading profiles on suspend/resume

This commit is contained in:
Zach Deibert 2024-11-12 22:42:32 -06:00 committed by Adam Honse
parent 7d96b27f28
commit bd3cc94212
17 changed files with 612 additions and 91 deletions

View file

@ -335,11 +335,11 @@ void Ui::OpenRGBPluginsPage::on_EnableButton_clicked(OpenRGBPluginsEntry* entry)
if(enabled)
{
plugin_manager->LoadPlugin(entry_path);
plugin_manager->EnablePlugin(entry_path);
}
else
{
plugin_manager->UnloadPlugin(entry_path);
plugin_manager->DisablePlugin(entry_path);
}
}