mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
FancyZonesEditor: open a tab with the selected layout on startup (#715)
This commit is contained in:
@@ -22,6 +22,21 @@ namespace FancyZonesEditor
|
||||
//
|
||||
public class Settings : INotifyPropertyChanged
|
||||
{
|
||||
public bool IsCustomLayoutActive
|
||||
{
|
||||
get
|
||||
{
|
||||
foreach (LayoutModel model in CustomModels)
|
||||
{
|
||||
if (model.IsSelected)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public Settings()
|
||||
{
|
||||
ParseCommandLineArgs();
|
||||
|
||||
Reference in New Issue
Block a user