Disconnect contents_size_changed during cleanup
This commit is contained in:
parent
21c1dec59a
commit
9cbf9eaa76
@ -169,6 +169,8 @@ class HintManager(QObject):
|
|||||||
|
|
||||||
def _cleanup(self):
|
def _cleanup(self):
|
||||||
"""Clean up after hinting."""
|
"""Clean up after hinting."""
|
||||||
|
self._context.tab.contents_size_changed.disconnect(
|
||||||
|
self.on_contents_size_changed)
|
||||||
for elem in self._context.all_elems:
|
for elem in self._context.all_elems:
|
||||||
try:
|
try:
|
||||||
elem.label.remove_from_document()
|
elem.label.remove_from_document()
|
||||||
|
Loading…
Reference in New Issue
Block a user