mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
fx cop & FZ editor part 1 of many (#11241)
* fixing first set of host of bugs * objects are already set to defaults * shifting to string.is null / empty * setters * fixing stylecop oops * checking in the FxCop dep but commenting it out for easier coming back
This commit is contained in:
@@ -171,7 +171,7 @@ namespace FancyZonesEditor.Models
|
||||
List<string> result = new List<string>();
|
||||
foreach (var pair in MainWindowSettingsModel.QuickKeys.SelectedKeys)
|
||||
{
|
||||
if (pair.Value == string.Empty || pair.Value == Uuid)
|
||||
if (string.IsNullOrEmpty(pair.Value) || pair.Value == Uuid)
|
||||
{
|
||||
result.Add(pair.Key);
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@ namespace FancyZonesEditor
|
||||
}
|
||||
}
|
||||
|
||||
private LayoutModel _selectedModel = null;
|
||||
private LayoutModel _selectedModel;
|
||||
|
||||
public LayoutModel AppliedModel
|
||||
{
|
||||
@@ -180,7 +180,7 @@ namespace FancyZonesEditor
|
||||
}
|
||||
}
|
||||
|
||||
private LayoutModel _appliedModel = null;
|
||||
private LayoutModel _appliedModel;
|
||||
|
||||
public static bool IsPredefinedLayout(LayoutModel model)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user