803 if current == -1: |
803 if current == -1: |
804 current = len(self.__history) - 1 |
804 current = len(self.__history) - 1 |
805 cmd, ok = QInputDialog.getItem( |
805 cmd, ok = QInputDialog.getItem( |
806 self, |
806 self, |
807 self.tr("Select History"), |
807 self.tr("Select History"), |
808 self.tr("Select the history entry to execute" " (most recent shown last)."), |
808 self.tr("Select the history entry to execute (most recent shown last)."), |
809 self.__history, |
809 self.__history, |
810 current, |
810 current, |
811 False, |
811 False, |
812 ) |
812 ) |
813 if ok: |
813 if ok: |