Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
45d9d6fc by Cédric Krier at 2023-07-03T19:52:15+02:00
Add missing show and hide method to email no modal windows

Closes #12368
- - - - -
027a4f8d by Cédric Krier at 2023-07-03T19:53:12+02:00
Expose show and hide methods as to be implemented for NoModal
- - - - -


2 changed files:

- tryton/tryton/gui/window/email_.py
- tryton/tryton/gui/window/nomodal.py


Changes:

=====================================
tryton/tryton/gui/window/email_.py
=====================================
@@ -355,3 +355,9 @@
     def destroy(self):
         super().destroy()
         self.dialog.destroy()
+
+    def show(self):
+        self.dialog.show()
+
+    def hide(self):
+        self.dialog.hide()


=====================================
tryton/tryton/gui/window/nomodal.py
=====================================
@@ -39,6 +39,12 @@
                     continue
                 break
 
+    def show(self):
+        raise NotImplementedError
+
+    def hide(self):
+        raise NotImplementedError
+
     def default_size(self):
         from tryton.gui.main import Main
         main = Main()



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/470a28314f49c5c02112d17fa95f0ef5941626c0...027a4f8d5c005da45494ec18509ab4cfcbb4a7a1

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/470a28314f49c5c02112d17fa95f0ef5941626c0...027a4f8d5c005da45494ec18509ab4cfcbb4a7a1
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to