aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AppDelegate.m2
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