code: def search_complete(self, completed):
          
          self.result_browser.set_sorting(ON)
          self.find_options.ok_button.setEnabled(True)
          self.find_options.stop_button.setEnabled(False)
          self.status_bar.hide()
          self.result_browser.expandAll()
          if self.search_thread is None:
              return
          self.sig_finished.emit()
          found = self.search_thread.get_results()
          self.stop_and_reset_thread()
          if found is not None:
              results, pathlist, nb, error_flag = found
              self.result_browser.show()
docs: Current search thread has finished