diff --git a/spyder/widgets/findinfiles.py b/spyder/widgets/findinfiles.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/findinfiles.py
+++ b/spyder/widgets/findinfiles.py
@@ -489,10 +489,12 @@ class FindOptions(QWidget):
     @Slot()

     def select_directory(self):

         """Select directory"""

+        self.parent().redirect_stdio.emit(False)

         directory = getexistingdirectory(self, _("Select directory"),

                                          self.path)

         if directory:

             directory = to_text_string(osp.abspath(to_text_string(directory)))

+        self.parent().redirect_stdio.emit(True)

         return directory

 

     def set_directory(self, directory):
Find in files: Restore redirect_stdio signal when selecting a directory