QScintilla/ShellHistoryDialog.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
25 25
26 @param history reference to the current shell history (list of strings) 26 @param history reference to the current shell history (list of strings)
27 @param vm reference to the viewmanager object 27 @param vm reference to the viewmanager object
28 @param shell reference to the shell object 28 @param shell reference to the shell object
29 """ 29 """
30 QDialog.__init__(self, shell) 30 super().__init__(shell)
31 self.setupUi(self) 31 self.setupUi(self)
32 32
33 self.historyList.addItems(history) 33 self.historyList.addItems(history)
34 self.historyList.setCurrentRow(self.historyList.count() - 1, 34 self.historyList.setCurrentRow(self.historyList.count() - 1,
35 QItemSelectionModel.Clear) 35 QItemSelectionModel.Clear)

eric ide

mercurial