mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Update FlyoutSettingsViewModel.cs
This commit is contained in:
1 parent
0cdf8242b7
commit
7323c657df
1 file changed
+6
-2
@@ -72,7 +72,11 @@ namespace Artemis.ViewModels.Flyouts
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return new BindableCollection<string>(MainManager.DeviceManager.KeyboardProviders.Select(k => k.Name));
|
return new BindableCollection<string>(MainManager.DeviceManager.KeyboardProviders
|
||||||
|
.OrderBy(k => k.Name != "None")
|
||||||
|
.ThenBy(k => k.Name != "Corsair RGB Keyboard")
|
||||||
|
.ThenBy(k => k.Name)
|
||||||
|
.Select(k => k.Name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -244,4 +248,4 @@ namespace Artemis.ViewModels.Flyouts
|
|||||||
: GeneralSettings.LastKeyboard;
|
: GeneralSettings.LastKeyboard;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user