fix bug when no Nvidia hardware is found

This commit is contained in:
Vincent Maas committed 2020-11-22 17:39:03 +01:00
1 parent d00595fb2e
commit aa371d739e
6 files changed
+40 -21

No files matched your search

+1 -1
View File
@@ -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
{