Skip to content

Commit

Permalink
Modify the manual focus because it was already implemented in version…
Browse files Browse the repository at this point in the history
… 4099
  • Loading branch information
husanjun committed Mar 22, 2021
1 parent f2a07d9 commit 18c0212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SyncedSideBar.py
Expand Up @@ -150,7 +150,7 @@ def on_window_command(self, window, command, args):
def on_post_window_command(self, window, command, args):
# v4 leaves focus on the sidebar after a `reveal_in_side_bar` command
# So we need to manually force focus back to the file window
if (int(sublime.version()) > 4000):
if (int(sublime.version()) > 4000 and int(sublime.version()) < 4099):
if command == 'reveal_in_side_bar':
window.focus_view(lastView)

Expand Down

0 comments on commit 18c0212

Please sign in to comment.