QScintilla/ShellHistoryDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/QScintilla/ShellHistoryDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/QScintilla/ShellHistoryDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -14,6 +14,7 @@
 
 from .Ui_ShellHistoryDialog import Ui_ShellHistoryDialog
 
+
 class ShellHistoryDialog(QDialog, Ui_ShellHistoryDialog):
     """
     Class implementing the shell history dialog.
@@ -30,7 +31,7 @@
         self.setupUi(self)
         
         self.historyList.addItems(history)
-        self.historyList.setCurrentRow(self.historyList.count() - 1, 
+        self.historyList.setCurrentRow(self.historyList.count() - 1,
             QItemSelectionModel.Clear)
         self.historyList.scrollToItem(self.historyList.currentItem())
         
@@ -111,7 +112,7 @@
         history = self.shell.getHistory(None)
         self.historyList.clear()
         self.historyList.addItems(history)
-        self.historyList.setCurrentRow(self.historyList.count() - 1, 
+        self.historyList.setCurrentRow(self.historyList.count() - 1,
             QItemSelectionModel.Clear)
         self.historyList.scrollToItem(self.historyList.currentItem())
         

eric ide

mercurial