Make the rescan action in ResourceManager send a rescan request to the client if the client is the primary target (local connection or only connected client when local detection disabled)

This commit is contained in:
Adam Honse 2025-07-04 01:43:38 -05:00
parent 80dee91ab9
commit c750158286
3 changed files with 76 additions and 20 deletions

View file

@ -1714,9 +1714,9 @@ void OpenRGBDialog::SaveProfileAs()
void OpenRGBDialog::on_ButtonRescan_clicked()
{
/*---------------------------------------------------------*\
| Show the detection progress bar. |
| Rescan devices in ResourceManager |
\*---------------------------------------------------------*/
ResourceManager::get()->DetectDevices();
ResourceManager::get()->RescanDevices();
}
void OpenRGBDialog::on_ActionSaveProfile_triggered()