eric6/QScintilla/Shell.py

changeset 7759
51aa6c6b66f7
parent 7703
1f800f8295ea
child 7802
eefe954f01e8
child 7824
096b3ebc1409
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
778 """ 778 """
779 Public slot to show the shell history dialog. 779 Public slot to show the shell history dialog.
780 """ 780 """
781 from .ShellHistoryDialog import ShellHistoryDialog 781 from .ShellHistoryDialog import ShellHistoryDialog
782 dlg = ShellHistoryDialog(self.__history, self.vm, self) 782 dlg = ShellHistoryDialog(self.__history, self.vm, self)
783 if dlg.exec_() == QDialog.Accepted: 783 if dlg.exec() == QDialog.Accepted:
784 self.__historyLists[self.clientType], idx = dlg.getHistory() 784 self.__historyLists[self.clientType], idx = dlg.getHistory()
785 self.__history = self.__historyLists[self.clientType] 785 self.__history = self.__historyLists[self.clientType]
786 self.__setHistoryIndex(index=idx) 786 self.__setHistoryIndex(index=idx)
787 787
788 def clearAllHistories(self): 788 def clearAllHistories(self):

eric ide

mercurial