Skip to content

Commit

Permalink
windowlistmanager: Fix stack overflow error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Oct 20, 2023
1 parent e0e4ee8 commit f85c05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orangecanvas/gui/windowlistmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def instance() -> "WindowListManager":
def __init__(self, *args, **kwargs):
if self.__instance is not None:
raise RuntimeError
WindowListManager.__instance = self
super().__init__(*args, **kwargs)
WindowListManager.__instance = self
self.__group = QActionGroup(
self, objectName="window-list-manager-action-group"
)
Expand Down

0 comments on commit f85c05a

Please sign in to comment.