author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Fri, 21 Oct 2022 17:52:45 +0200 | |
branch | wxPython4 |
changeset 3641 | d8dc29dfc344 |
parent 3640 | 822fdcef784b |
child 3642 | cd3d15e8ef42 |
ConfigTreeNode.py | file | annotate | diff | comparison | revisions |
--- 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)