remove duplicate code

This commit is contained in:
芬里尔吉崽
2024-06-17 14:05:11 +08:00
parent 5eff797d5c
commit fa6899e432

View File

@@ -83,7 +83,6 @@ public static class Dialog
};
ConfigureDefaultDialogWindow(window, options);
owner ??= GetMainWindow();
window.Icon = owner!.Icon;
if (owner is null)
{
window.Show();