26 @param history list of history entries to be edited |
26 @param history list of history entries to be edited |
27 @type list of str |
27 @type list of str |
28 @param parent reference to the parent widget |
28 @param parent reference to the parent widget |
29 @type QWidget |
29 @type QWidget |
30 """ |
30 """ |
31 super(StartHistoryEditDialog, self).__init__(parent) |
31 super().__init__(parent) |
32 self.setupUi(self) |
32 self.setupUi(self) |
33 |
33 |
34 self.historyList.addItems(history) |
34 self.historyList.addItems(history) |
35 for row in range(self.historyList.count()): |
35 for row in range(self.historyList.count()): |
36 itm = self.historyList.item(row) |
36 itm = self.historyList.item(row) |