QScintilla/ShellHistoryDialog.py

changeset 3030
4a0a82ddd9d2
parent 3011
18292228c724
child 3034
7ce719013078
child 3058
0a02c433f52d
diff -r 4055a15ce0f2 -r 4a0a82ddd9d2 QScintilla/ShellHistoryDialog.py
--- a/QScintilla/ShellHistoryDialog.py	Fri Oct 18 18:00:02 2013 +0200
+++ b/QScintilla/ShellHistoryDialog.py	Fri Oct 18 18:42:10 2013 +0200
@@ -31,8 +31,8 @@
         self.setupUi(self)
         
         self.historyList.addItems(history)
-        self.historyList.setCurrentRow(self.historyList.count() - 1,
-            QItemSelectionModel.Clear)
+        self.historyList.setCurrentRow(
+            self.historyList.count() - 1, QItemSelectionModel.Clear)
         self.historyList.scrollToItem(self.historyList.currentItem())
         
         self.vm = vm
@@ -113,8 +113,8 @@
         history = self.shell.getHistory(None)
         self.historyList.clear()
         self.historyList.addItems(history)
-        self.historyList.setCurrentRow(self.historyList.count() - 1,
-            QItemSelectionModel.Clear)
+        self.historyList.setCurrentRow(
+            self.historyList.count() - 1, QItemSelectionModel.Clear)
         self.historyList.scrollToItem(self.historyList.currentItem())
         
     def getHistory(self):

eric ide

mercurial