Skip to content

Commit

Permalink
[Bug Solved] Doesn't switch to Smultron's space when opening a docume…
Browse files Browse the repository at this point in the history
…nt in a different one.
  • Loading branch information
Jean-Francois Moy committed Mar 15, 2010
1 parent 9806162 commit ee40cd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Classes/SMLOpenSavePerformer.m
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ - (void)performOpenWithPath:(NSString *)path contents:(NSString *)textString enc
[SMLCurrentProject selectionDidChange];

[self performSelector:@selector(updateLineNumbers) withObject:nil afterDelay:0.0];

// Bring the window in front if Smultron is not on the current displayed space.
if (![SMLCurrentWindow isOnActiveSpace]) {
[SMLCurrentWindow orderFront:self];
}
}


Expand Down

0 comments on commit ee40cd3

Please sign in to comment.