diff frontends/src/primitivus/xmlui.py @ 1612:48f324352c52

primitivus: fixed showDialog and XMLUI message dialog
author Goffi <goffi@goffi.org>
date Tue, 17 Nov 2015 12:28:45 +0100
parents 1378ec04380f
children d17772b0fe22
line wrap: on
line diff
--- a/frontends/src/primitivus/xmlui.py	Mon Nov 16 11:58:11 2015 +0100
+++ b/frontends/src/primitivus/xmlui.py	Tue Nov 17 12:28:45 2015 +0100
@@ -336,7 +336,7 @@
     def __init__(self, _xmlui_parent, title, message, level):
         PrimitivusDialog.__init__(self, _xmlui_parent)
         xmlui.MessageDialog.__init__(self, _xmlui_parent)
-        sat_widgets.Alert.__init__(self, title, message, ok_cb=lambda dummy: self._xmluiValidated())
+        sat_widgets.Alert.__init__(self, title, message, ok_cb=lambda dummy: self._xmluiClose())
 
 
 class PrimitivusNoteDialog(xmlui.NoteDialog, PrimitivusMessageDialog):