branch | wxPython4 |
changeset 3641 | d8dc29dfc344 |
parent 3318 | aee9e98c856a |
child 3674 | d10a7907fb43 |
--- a/ConfigTreeNode.py Fri Oct 21 16:29:07 2022 +0200 +++ b/ConfigTreeNode.py Fri Oct 21 17:52:45 2022 +0200 @@ -471,7 +471,7 @@ return None def GetView(self, onlyopened=False): - if self._View is None and not onlyopened and self.EditorType is not None: + if not self._View and not onlyopened and self.EditorType is not None: app_frame = self.GetCTRoot().AppFrame self._View = self.EditorType(app_frame.TabsOpened, self, app_frame)