Skip to content

Commit

Permalink
Merge pull request #4470 from ccordoba12/fix-findinfiles
Browse files Browse the repository at this point in the history
PR: Fix error in Find in Files because of changes in master
  • Loading branch information
ccordoba12 authored May 14, 2017
2 parents ae2b3b6 + 66215e7 commit d9cb108
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyder/plugins/findinfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ def refreshdir(self):

def set_project_path(self, path):
"""Refresh current project path"""
self.find_options.set_project_path(path)
self.findinfiles.find_options.set_project_path(path)

def set_current_opened_file(self, path):
"""Get path of current opened file in editor"""
self.find_options.set_file_path(path)
self.findinfiles.find_options.set_file_path(path)

def unset_project_path(self):
"""Refresh current project path"""
self.find_options.disable_project_search()
self.findinfiles.find_options.disable_project_search()

@Slot()
def findinfiles_callback(self):
Expand Down

0 comments on commit d9cb108

Please sign in to comment.