Add support for loading profiles on suspend/resume
This commit is contained in:
parent
7d96b27f28
commit
bd3cc94212
17 changed files with 612 additions and 91 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue