FancyZonesEditor: open a tab with the selected layout on startup (#715)

This commit is contained in:
yuyoyuppe
2019-11-15 10:40:10 +03:00
committed by GitHub
parent 0082f56b58
commit cb13cfdda7
3 changed files with 41 additions and 5 deletions

View File

@@ -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();