remove duplicate code
This commit is contained in:
@@ -83,7 +83,6 @@ public static class Dialog
|
|||||||
};
|
};
|
||||||
ConfigureDefaultDialogWindow(window, options);
|
ConfigureDefaultDialogWindow(window, options);
|
||||||
owner ??= GetMainWindow();
|
owner ??= GetMainWindow();
|
||||||
window.Icon = owner!.Icon;
|
|
||||||
if (owner is null)
|
if (owner is null)
|
||||||
{
|
{
|
||||||
window.Show();
|
window.Show();
|
||||||
|
|||||||
Reference in New Issue
Block a user