Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Fix error in Find in Files because of changes in master #4470

Merged
merged 1 commit into from
May 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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