Skip to content

Commit

Permalink
Activate GitX after opening the repository
Browse files Browse the repository at this point in the history
This makes the window open in the current Space, instead of where the
current main window is, which would have triggered a Space switch.
  • Loading branch information
tiennou committed Nov 11, 2018
1 parent 7f9d3b1 commit 2f90a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/gitx.m
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ void handleOpenRepository(NSURL *repositoryURL, NSArray *arguments)
{
GitXApplication *gitXApp = [SBApplication applicationWithBundleIdentifier:kGitXBundleIdentifier];
[gitXApp setSendMode:kAENoReply];
[gitXApp activate];
[gitXApp open:repositoryURL withOptions:arguments];
[gitXApp activate];
return;
}

Expand Down

0 comments on commit 2f90a3d

Please sign in to comment.