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. |