--- a/eric6/QScintilla/Shell.py Sat Oct 03 11:14:23 2020 +0200 +++ b/eric6/QScintilla/Shell.py Sun Nov 01 11:15:18 2020 +0100 @@ -780,7 +780,7 @@ """ from .ShellHistoryDialog import ShellHistoryDialog dlg = ShellHistoryDialog(self.__history, self.vm, self) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: self.__historyLists[self.clientType], idx = dlg.getHistory() self.__history = self.__historyLists[self.clientType] self.__setHistoryIndex(index=idx)