QScintilla/ShellHistoryDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3030
4a0a82ddd9d2
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d QScintilla/ShellHistoryDialog.py
--- a/QScintilla/ShellHistoryDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/QScintilla/ShellHistoryDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -33,8 +33,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
@@ -115,8 +115,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