--- a/src/eric7/Debugger/StartDialog.py Fri Oct 25 09:47:48 2024 +0200 +++ b/src/eric7/Debugger/StartDialog.py Fri Oct 25 17:58:59 2024 +0200 @@ -436,15 +436,15 @@ history = [combo.itemText(idx) for idx in range(combo.count())] if history: - dlg = StartHistoryEditDialog(history, self) - if dlg.exec() == QDialog.DialogCode.Accepted: - history = dlg.getHistory() - combo = widgets[historiesIndex] - if combo: - combo.clear() - combo.addItems(history) + dlg = StartHistoryEditDialog(history, parent=self) + if dlg.exec() == QDialog.DialogCode.Accepted: + history = dlg.getHistory() + combo = widgets[historiesIndex] + if combo: + combo.clear() + combo.addItems(history) - self.__historiesModified = True + self.__historiesModified = True def historiesModified(self): """