Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a Qt error in loadUI that returned an error related to connectSlo…
…tsByName. The error happens following the change in python/cpython#13589. Basically it looks like connectSlotsByName causes all properties of the Qt class to be accessed, but the viewer property didn't previously work before the load_ui call since _viewer wasn't defined and an AttributeError was raised. The fix here is to make sure that self._viewer is defined before load_ui is called.
- Loading branch information