Skip to content

Commit

Permalink
Merge pull request #5666 from dalthviz/fixes_issue_5661
Browse files Browse the repository at this point in the history
PR: Set focus for filter line when doing symbol search
  • Loading branch information
ccordoba12 authored Nov 6, 2017
2 parents e67751e + 6511e53 commit eb15c80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spyder/widgets/fileswitcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ def setup_symbol_list(self, filter_text, current_path):
# To adjust the delegate layout for KDE themes
self.list.files_list = False

# Select edit line when using symbol search initially.
# See issue 5661
self.edit.setFocus()

# Move selected item in list accordingly
# NOTE: Doing this is causing two problems:
# 1. It makes the cursor to auto-jump to the last selected
Expand Down

0 comments on commit eb15c80

Please sign in to comment.