Null Left/RightWindowCommands (#8028)

This commit is contained in:
stefansjfw
2020-11-13 17:32:48 +01:00
committed by GitHub
parent c1b1fe6371
commit 4910bd3feb
2 changed files with 7 additions and 0 deletions

View File

@@ -166,12 +166,17 @@ namespace FancyZonesEditor
}
window.Owner = EditorOverlay.Current;
window.DataContext = model;
window.Show();
if (isGrid)
{
(window as GridEditorWindow).NameTextBox().Focus();
}
window.LeftWindowCommands = null;
window.RightWindowCommands = null;
}
private void Apply_Click(object sender, RoutedEventArgs e)