From 35f2bcd09f65e69f68ab5b54060f52628e475eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Jul 2023 19:53:12 +0200 Subject: [PATCH] Expose show and hide methods as to be implemented for NoModal --- tryton/tryton/gui/window/nomodal.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tryton/tryton/gui/window/nomodal.py b/tryton/tryton/gui/window/nomodal.py index e11d14caf7..53ddb76bc7 100644 --- a/tryton/tryton/gui/window/nomodal.py +++ b/tryton/tryton/gui/window/nomodal.py @@ -39,6 +39,12 @@ class NoModal(object): continue break + def show(self): + raise NotImplementedError + + def hide(self): + raise NotImplementedError + def default_size(self): from tryton.gui.main import Main main = Main()