changeset 3010:e6806aaab16d

primitivus: fixed status popup's cancel button fix 329
author Goffi <goffi@goffi.org>
date Wed, 17 Jul 2019 09:28:34 +0200
parents bba1c51bf2c6
children 93da7c6f8e0c
files sat_frontends/primitivus/status.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/primitivus/status.py	Wed Jul 17 09:28:33 2019 +0200
+++ b/sat_frontends/primitivus/status.py	Wed Jul 17 09:28:34 2019 +0200
@@ -67,7 +67,7 @@
             _("Set your status"),
             _("New status"),
             default_txt=self.status.get_text(),
-            cancel_cb=self.host.removePopUp,
+            cancel_cb=lambda _: self.host.removePopUp(),
             ok_cb=self.onChange,
         )
         self.host.showPopUp(pop_up_widget)