Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Commit

Permalink
fix: file in last command argument is not activated
Browse files Browse the repository at this point in the history
  • Loading branch information
baverman committed Dec 17, 2011
1 parent 421bfa0 commit 3a84f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snaked/core/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,11 @@ def start(self, files_to_open):
window = main_window or self.get_free_window()
for f in files_to_open:
f = os.path.abspath(f)
window.window_conf['active-uri'] = f
if f not in opened_files:
e = self.open(f)
window.attach_editor(e)
opened_files.add(f)
window.window_conf['active-uri'] = f

for w in self.windows:
if w:
Expand Down

0 comments on commit 3a84f3d

Please sign in to comment.