Slight code cleanup. 5_1_x

Thu, 30 Jun 2011 08:24:39 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 30 Jun 2011 08:24:39 +0200
branch
5_1_x
changeset 1154
efa4ce3d50d2
parent 1152
3cfaa0bae68d
child 1156
48999111929c

Slight code cleanup.

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
diff -r 3cfaa0bae68d -r efa4ce3d50d2 ViewManager/ViewManager.py
--- a/ViewManager/ViewManager.py	Thu Jun 30 08:14:43 2011 +0200
+++ b/ViewManager/ViewManager.py	Thu Jun 30 08:24:39 2011 +0200
@@ -4035,8 +4035,7 @@
             return
         
         text = self.quickFindtextCombo.lineEdit().text()
-        if not text:
-            if again:
+        if not text and again:
                 text = self.quickFindtextCombo.lastSearchText
         if not text:
             if Preferences.getEditor("QuickSearchMarkersEnabled"):

eric ide

mercurial