Reviewers: ,


Please review this at http://codereview.tryton.org/528002/

Affected files:
  M tryton/gui/window/view_form/view/form_gtk/many2one.py


Index: tryton/gui/window/view_form/view/form_gtk/many2one.py
===================================================================

--- a/tryton/gui/window/view_form/view/form_gtk/many2one.py
+++ b/tryton/gui/window/view_form/view/form_gtk/many2one.py
@@ -286,6 +286,7 @@
                 and editable):
             self.sig_activate(widget, event, key_press=True)
         elif (self.has_target(self.field.get(self.record))
+                and editable
                 and event.keyval in (gtk.keysyms.Delete,
                     gtk.keysyms.BackSpace)):
             self.wid_text.set_text('')



--
[email protected] mailing list

Reply via email to