eric6/UI/FindFileDialog.py

changeset 7229
53054eb5b15a
parent 7192
a22eee00b052
child 7264
bedbe458d792
--- a/eric6/UI/FindFileDialog.py	Mon Sep 09 19:07:48 2019 +0200
+++ b/eric6/UI/FindFileDialog.py	Tue Sep 10 19:30:07 2019 +0200
@@ -7,7 +7,6 @@
 Module implementing a dialog to search for text in files.
 """
 
-from __future__ import unicode_literals
 
 import os
 import re
@@ -267,8 +266,6 @@
         Private slot called to enable the find button.
         """
         if self.findtextCombo.currentText() == "" or \
-           (self.__replaceMode and
-            self.replacetextCombo.currentText() == "") or \
            (self.dirButton.isChecked() and
             (self.dirPicker.currentText() == "" or
              not os.path.exists(os.path.abspath(

eric ide

mercurial