Helpviewer/HelpTabWidget.py

changeset 3035
36e9f388958b
parent 3034
7ce719013078
child 3048
83f86da6344e
equal deleted inserted replaced
3034:7ce719013078 3035:36e9f388958b
259 """ 259 """
260 Private slot to close all other tabs. 260 Private slot to close all other tabs.
261 """ 261 """
262 index = self.__tabContextMenuIndex 262 index = self.__tabContextMenuIndex
263 for i in list(range(self.count() - 1, index, -1)) + \ 263 for i in list(range(self.count() - 1, index, -1)) + \
264 list(range(index - 1, -1, -1)): 264 list(range(index - 1, -1, -1)):
265 self.closeBrowserAt(i) 265 self.closeBrowserAt(i)
266 266
267 def __tabContextMenuPrint(self): 267 def __tabContextMenuPrint(self):
268 """ 268 """
269 Private method to print the selected tab. 269 Private method to print the selected tab.

eric ide

mercurial