483 """ |
483 """ |
484 self.sortItems(self.sortColumn(), self.header().sortIndicatorOrder()) |
484 self.sortItems(self.sortColumn(), self.header().sortIndicatorOrder()) |
485 |
485 |
486 @pyqtSlot() |
486 @pyqtSlot() |
487 @pyqtSlot(QTreeWidgetItem, int) |
487 @pyqtSlot(QTreeWidgetItem, int) |
488 def __templateItemActivated(self, itm=None, col=0): |
488 def __templateItemActivated(self, itm=None, _col=0): |
489 """ |
489 """ |
490 Private slot to handle the activation of an item. |
490 Private slot to handle the activation of an item. |
491 |
491 |
492 @param itm reference to the activated item |
492 @param itm reference to the activated item |
493 @type QTreeWidgetItem |
493 @type QTreeWidgetItem |
494 @param col column the item was activated in |
494 @param _col column the item was activated in (unused) |
495 @type int |
495 @type int |
496 """ |
496 """ |
497 if not self.__activating: |
497 if not self.__activating: |
498 self.__activating = True |
498 self.__activating = True |
499 itm = self.currentItem() |
499 itm = self.currentItem() |