587 else: |
587 else: |
588 self.__selectedName = "" |
588 self.__selectedName = "" |
589 |
589 |
590 self.start(self.args) |
590 self.start(self.args) |
591 |
591 |
592 @pyqtSlot(str) |
592 @pyqtSlot(int) |
593 def on_statusFilterCombo_activated(self, txt): |
593 def on_statusFilterCombo_activated(self, index): |
594 """ |
594 """ |
595 Private slot to react to the selection of a status filter. |
595 Private slot to react to the selection of a status filter. |
596 |
596 |
597 @param txt selected status filter (string) |
597 @param index index of the selected entry |
598 """ |
598 @type int |
|
599 """ |
|
600 txt = self.statusFilterCombo.itemText(index) |
599 if txt == "<{0}>".format(self.tr("all")): |
601 if txt == "<{0}>".format(self.tr("all")): |
600 for topIndex in range(self.statusList.topLevelItemCount()): |
602 for topIndex in range(self.statusList.topLevelItemCount()): |
601 topItem = self.statusList.topLevelItem(topIndex) |
603 topItem = self.statusList.topLevelItem(topIndex) |
602 topItem.setHidden(False) |
604 topItem.setHidden(False) |
603 else: |
605 else: |