UICParser class (pyside2uic/uicparser.py:640) throws an AttributeError when it tries to reference self.column_counter. This attribute is set in the createWidget method, however, this has apparently not yet been called when the attribute is referenced.
Adding self.column_counter = 0 in UICParser._init_ fixes the problem.
- relates to
-
PYSIDE-797
Rewrite pyside-uic
-
- Closed
-
| For Gerrit Dashboard: PYSIDE-987 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 262508,2 | Move UICParser self variables to constructor | 5.12 | pyside/pyside-tools | Status: MERGED | +2 | 0 |