diff options
author | Vsevolod Kukol <sevoku@microsoft.com> | 2019-07-27 12:18:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 12:18:42 +0300 |
commit | 34805bff6001bc36c5a0c91dc51fc4ddc52a3831 (patch) | |
tree | 47c8ded36fe6a263ccd86de4b4242b01068a517d /Xwt.Gtk | |
parent | 7a1259e5d801764bef3dae2263c349becc4eef76 (diff) | |
parent | d4b17ee2f50d057c3c2d65517d417336b97e2ac5 (diff) |
Merge pull request #931 from daserge/gtk-dialog-dispose
[GTK] Close dialog on EndLoop to be consistent with XamMac and WPF
Diffstat (limited to 'Xwt.Gtk')
-rw-r--r-- | Xwt.Gtk/Xwt.GtkBackend/DialogBackend.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/DialogBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/DialogBackend.cs index 0e0dbac8..e19dfde8 100644 --- a/Xwt.Gtk/Xwt.GtkBackend/DialogBackend.cs +++ b/Xwt.Gtk/Xwt.GtkBackend/DialogBackend.cs @@ -157,6 +157,7 @@ namespace Xwt.GtkBackend public void EndLoop () { Window.Respond (Gtk.ResponseType.Ok); + Window.Hide (); } public override bool Close () |