Permalink
Browse files

Fix an exception when changing the tab indentation while the Bundle E…

…ditor is open (fixes #2246)
  • Loading branch information...
dmoagx committed Sep 30, 2015
1 parent 59a344d commit 465062dacc96c2c84bfe9cff1ded58c14d01bdcd
Showing with 7 additions and 0 deletions.
  1. +7 −0 Source/SPBundleCommandTextView.m
@@ -816,6 +816,13 @@ - (void)boundsDidChangeNotification:(NSNotification *)notification
[commandScrollView display];
}
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
{
if([keyPath isEqualToString:SPCustomQueryEditorTabStopWidth]) {
[self setTabStops];
}
}
#pragma mark -
// Store the font in the prefs for selected delegates only

0 comments on commit 465062d

Please sign in to comment.