--- a/eric6/QScintilla/Shell.py Mon Oct 05 19:51:55 2020 +0200 +++ b/eric6/QScintilla/Shell.py Tue Oct 06 17:52:44 2020 +0200 @@ -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)