Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Shakhnazarov <v-seshak@microsoft.com>2019-04-01 11:12:31 +0300
committerSergey Shakhnazarov <v-seshak@microsoft.com>2019-04-01 11:28:38 +0300
commitd4b17ee2f50d057c3c2d65517d417336b97e2ac5 (patch)
tree34f3bb987169901eed1950c76c463b0e749c3665 /Xwt.Gtk
parent4ff974e6bfd527f4b6708586dc70d50c8d78c3ed (diff)
[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.cs1
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 ()