ConfigTreeNode.py
branchwxPython4
changeset 3641 d8dc29dfc344
parent 3318 aee9e98c856a
child 3674 d10a7907fb43
equal deleted inserted replaced
3640:822fdcef784b 3641:d8dc29dfc344
   469 
   469 
   470     def GetContextualMenuItems(self):
   470     def GetContextualMenuItems(self):
   471         return None
   471         return None
   472 
   472 
   473     def GetView(self, onlyopened=False):
   473     def GetView(self, onlyopened=False):
   474         if self._View is None and not onlyopened and self.EditorType is not None:
   474         if not self._View and not onlyopened and self.EditorType is not None:
   475             app_frame = self.GetCTRoot().AppFrame
   475             app_frame = self.GetCTRoot().AppFrame
   476             self._View = self.EditorType(app_frame.TabsOpened, self, app_frame)
   476             self._View = self.EditorType(app_frame.TabsOpened, self, app_frame)
   477 
   477 
   478         return self._View
   478         return self._View
   479 
   479