# HG changeset patch # User Edouard Tisserant # Date 1666367565 -7200 # Node ID d8dc29dfc34430ab9a22368cdf059526c1ba7e49 # Parent 822fdcef784b7fa1bd024e2782f96811dd51c64a IDE: fix exception when re-opening previously closed tab diff -r 822fdcef784b -r d8dc29dfc344 ConfigTreeNode.py --- 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)