src/eric7/Debugger/StartDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10972
2178804b1df8
child 11019
27cd57e98461
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
434 combo = widgets[historiesIndex] 434 combo = widgets[historiesIndex]
435 if combo: 435 if combo:
436 history = [combo.itemText(idx) for idx in range(combo.count())] 436 history = [combo.itemText(idx) for idx in range(combo.count())]
437 437
438 if history: 438 if history:
439 dlg = StartHistoryEditDialog(history, self) 439 dlg = StartHistoryEditDialog(history, parent=self)
440 if dlg.exec() == QDialog.DialogCode.Accepted: 440 if dlg.exec() == QDialog.DialogCode.Accepted:
441 history = dlg.getHistory() 441 history = dlg.getHistory()
442 combo = widgets[historiesIndex] 442 combo = widgets[historiesIndex]
443 if combo: 443 if combo:
444 combo.clear() 444 combo.clear()
445 combo.addItems(history) 445 combo.addItems(history)
446 446
447 self.__historiesModified = True 447 self.__historiesModified = True
448 448
449 def historiesModified(self): 449 def historiesModified(self):
450 """ 450 """
451 Public method to test for modified histories. 451 Public method to test for modified histories.
452 452

eric ide

mercurial