changeset 170a6ca421f9 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset&node=170a6ca421f9
description:
        Keep translate button sensitive even when Text widget is readonly

        issue11893
        review413981003
diffstat:

 tryton/gui/window/view_form/view/form_gtk/textbox.py |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 280447e4cdda -r 170a6ca421f9 
tryton/gui/window/view_form/view/form_gtk/textbox.py
--- a/tryton/gui/window/view_form/view/form_gtk/textbox.py      Thu Dec 08 
13:36:22 2022 +0100
+++ b/tryton/gui/window/view_form/view/form_gtk/textbox.py      Sat Dec 10 
00:44:50 2022 +0100
@@ -94,8 +94,6 @@
     def _readonly_set(self, value):
         super(TextBox, self)._readonly_set(value)
         self.textview.set_editable(not value)
-        if self.button:
-            self.button.set_sensitive(not value)
 
     @property
     def modified(self):

Reply via email to