Fixed a variable naming issue in FindFileDialog.

Fri, 28 May 2010 19:03:58 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 28 May 2010 19:03:58 +0200
changeset 293
9ecc02b50325
parent 289
baf4c1354c6a
child 294
408dbd80e6e6

Fixed a variable naming issue in FindFileDialog.

UI/FindFileDialog.py file | annotate | diff | comparison | revisions
--- a/UI/FindFileDialog.py	Thu May 27 20:27:46 2010 +0200
+++ b/UI/FindFileDialog.py	Fri May 28 19:03:58 2010 +0200
@@ -363,10 +363,10 @@
                                                 self.replaceHistory[:30])
         
         if self.dirButton.isChecked():
-            dir = self.dirCombo.currentText()
-            if dir in self.dirHistory:
-                self.dirHistory.remove(dir)
-            self.dirHistory.insert(0, dir)
+            searchDir = self.dirCombo.currentText()
+            if searchDir in self.dirHistory:
+                self.dirHistory.remove(searchDir)
+            self.dirHistory.insert(0, searchDir)
             self.dirCombo.clear()
             self.dirCombo.addItems(self.dirHistory)
             Preferences.Prefs.settings.setValue("FindFileDialog/DirectoryHistory", 

eric ide

mercurial