mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Devices - Reworking layout loading
This commit is contained in:
1 parent
9393bf2b68
commit
e8590abd61
57 files changed
+824
-349
No files matched your search
+1
-1
@@ -63,7 +63,7 @@ public partial class LayoutSelectionStepViewModel : SubmissionViewModel
|
||||
|
||||
try
|
||||
{
|
||||
ArtemisLayout layout = new(selected[0], LayoutSource.User);
|
||||
ArtemisLayout layout = new(selected[0]);
|
||||
if (!layout.IsValid)
|
||||
{
|
||||
await _windowService.ShowConfirmContentDialog("Failed to load layout", "The selected file does not appear to be a valid RGB.NET layout file.", "Close", null);
|
||||
|
||||
Reference in new issue
Block a user