diff options
Diffstat (limited to 'macosx/HBOutputPanelController.m')
-rw-r--r-- | macosx/HBOutputPanelController.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/HBOutputPanelController.m b/macosx/HBOutputPanelController.m index 87a5d3876..54bf4916e 100644 --- a/macosx/HBOutputPanelController.m +++ b/macosx/HBOutputPanelController.m @@ -59,6 +59,8 @@ [textView scrollRangeToVisible:NSMakeRange([outputTextStorage length], 0)]; [outputPanel orderFront:nil]; + + [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"OutputPanelIsOpen"]; } /** @@ -95,4 +97,10 @@ [pboard setString:[outputTextStorage string] forType:NSStringPboardType]; } +- (void)windowWillClose:(NSNotification *)aNotification +{ + [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"OutputPanelIsOpen"]; +} + + @end |