mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-22 08:32:18 -05:00
fix bug when no Nvidia hardware is found
This commit is contained in:
1 parent
d00595fb2e
commit
aa371d739e
6 files changed
+40
-21
No files matched your search
@@ -1419,7 +1419,7 @@ namespace ColorControl
|
||||
var devices = _lgService.Devices;
|
||||
if (devices == null || !devices.Any())
|
||||
{
|
||||
_lgService.RefreshDevices(() => BeginInvoke(new Action(FillLgDevices)));
|
||||
_lgService.RefreshDevices(false).ContinueWith((task) => BeginInvoke(new Action(FillLgDevices)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user