RGB.NET - Updated for latest development branch

This commit is contained in:
Robert committed 2021-02-07 22:29:30 +01:00
1 parent 81b8f5bf48
commit 606c1b80f2
13 files changed
+77 -29

No files matched your search

@@ -35,7 +35,7 @@ namespace Artemis.UI.Screens.Settings.Debug
}
}
public bool CanOpenImageDirectory => Device.RgbDevice.DeviceInfo.Image != null;
public bool CanOpenImageDirectory => Device.Layout?.Image != null;
// ReSharper disable UnusedMember.Global
@@ -70,7 +70,7 @@ namespace Artemis.UI.Screens.Settings.Debug
try
{
Process.Start(Environment.GetEnvironmentVariable("WINDIR") + @"\explorer.exe", Path.GetDirectoryName(Device.RgbDevice.DeviceInfo.Image.AbsolutePath));
Process.Start(Environment.GetEnvironmentVariable("WINDIR") + @"\explorer.exe", Path.GetDirectoryName(Device.Layout.Image.AbsolutePath));
}
catch (Exception e)
{