changeset 7ab6b091a0b1 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=7ab6b091a0b1
description:
        Pass the right view object when creating an Affix

        issue8248
        review285101002
diffstat:

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

diffs (12 lines):

diff -r 4fa3d3585653 -r 7ab6b091a0b1 tryton/gui/window/view_form/view/list.py
--- a/tryton/gui/window/view_form/view/list.py  Tue Apr 02 17:59:03 2019 +0200
+++ b/tryton/gui/window/view_form/view/list.py  Thu Apr 04 15:17:16 2019 +0200
@@ -306,7 +306,7 @@
                 list_ = prefixes
             else:
                 list_ = suffixes
-            list_.append(Affix(self, affix_attrs))
+            list_.append(Affix(self.view, affix_attrs))
 
         for prefix in prefixes:
             column.pack_start(prefix.renderer, expand=prefix.expand)

Reply via email to