Nice Exception Dialog

This commit is contained in:
2020-03-01 23:37:43 +01:00
parent aa24f80fe2
commit 8953ac1808
10 changed files with 273 additions and 10 deletions

View File

@@ -43,8 +43,8 @@ namespace EstusShots.Gtk.Dialogs
SavePlayerButton.Clicked += SavePlayerButtonOnClicked;
PlayerEditorDialog.Parent = parent;
PlayerEditorDialog.TransientFor = parent;
PlayerEditorDialog.Show();
ReadFromModel();
}
@@ -55,6 +55,7 @@ namespace EstusShots.Gtk.Dialogs
{
ReadToModel();
OnDialogClosed?.Invoke(this, new DialogClosedEventArgs(true, _player));
PlayerEditorDialog.Dispose();
}
// Private Methods