From 1797e703d42779104751f33bc2fc0df06eabc025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 31 Oct 2015 10:48:06 +0100 Subject: [PATCH] Set Binary filename widget readonly issue5089 review23621002 --- tryton/gui/window/view_form/view/form_gtk/binary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tryton/gui/window/view_form/view/form_gtk/binary.py b/tryton/gui/window/view_form/view/form_gtk/binary.py index 25a29699f2..68a1b4de3c 100644 --- a/tryton/gui/window/view_form/view/form_gtk/binary.py +++ b/tryton/gui/window/view_form/view/form_gtk/binary.py @@ -164,6 +164,8 @@ class Binary(BinaryMixin, Widget): else: self.but_select.show() self.but_clear.show() + if self.wid_text: + self.wid_text.set_editable(not value) if value and CONFIG['client.fast_tabbing']: self.widget.set_focus_chain([]) else: