eric6/QScintilla/Shell.py

branch
maintenance
changeset 7824
096b3ebc1409
parent 7737
5371a22cf2aa
parent 7759
51aa6c6b66f7
child 7924
8a96736d465e
diff -r 10554f5fac78 -r 096b3ebc1409 eric6/QScintilla/Shell.py
--- 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)

eric ide

mercurial