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:
parent
80dee91ab9
commit
c750158286
3 changed files with 76 additions and 20 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue