diff options
Diffstat (limited to 'src/AppDelegate.m')
-rw-r--r-- | src/AppDelegate.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AppDelegate.m b/src/AppDelegate.m index 8ae9b6d..7f86eda 100644 --- a/src/AppDelegate.m +++ b/src/AppDelegate.m @@ -40,7 +40,7 @@ [_scroll_view setHasVerticalScroller:YES]; [_scroll_view setDocumentView:_text_view]; - [[_window contentView] addSubview:_scroll_view]; + [_window setContentView:_scroll_view]; } - (void)applicationDidFinishLaunching:(NSNotification *)notification |