eric6/QScintilla/Shell.py

changeset 7759
51aa6c6b66f7
parent 7703
1f800f8295ea
child 7802
eefe954f01e8
child 7824
096b3ebc1409
--- 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)

eric ide

mercurial