theodox / mGui

Python module for cleaner maya GUI layout syntax
MIT License
123 stars 23 forks source link

Moving the call to add_current, to after we set self._parent to None. #61

Closed bob-white closed 7 years ago

bob-white commented 7 years ago

Avoids a case where the reference to the parent is lost while inside the context manager.

theodox commented 7 years ago

doh, I did it too :)