mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
Fix screen.form can be None
This commit is contained in:
parent
2aaf0276da
commit
08b662cec4
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class EditableTreeView(gtk.TreeView):
|
|||
self.screen.form.message_state(_('Relation Field: F1: New F2: Open/Search'))
|
||||
elif focus_column and (focus_column._type in ('boolean')):
|
||||
start_editing = False
|
||||
else:
|
||||
elif self.screen.form:
|
||||
self.screen.form.message_state('')
|
||||
return super(EditableTreeView, self).set_cursor(path, focus_column,
|
||||
start_editing)
|
||||
|
|
Loading…
Reference in a new issue