diff options
author | Johan Paulsson <gonz@badcode.net> | 2014-03-25 21:34:12 +0000 |
---|---|---|
committer | Johan Paulsson <gonz@badcode.net> | 2014-03-25 21:34:12 +0000 |
commit | 08be64f38faef12393854ee4da484b144752d77e (patch) | |
tree | 97622a62ad85572468144cc3b5a8f242a42af7ba /tikzit/src/osx/PreferenceController.m | |
parent | db9056504a45f3df48952b79995781a85514f8ba (diff) |
gui: adding a couple of preference options
Added preference options for autocompletion and inspectors on top.
Diffstat (limited to 'tikzit/src/osx/PreferenceController.m')
-rw-r--r-- | tikzit/src/osx/PreferenceController.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tikzit/src/osx/PreferenceController.m b/tikzit/src/osx/PreferenceController.m index 099bf48..e785358 100644 --- a/tikzit/src/osx/PreferenceController.m +++ b/tikzit/src/osx/PreferenceController.m @@ -104,9 +104,9 @@ [[[self window] contentView] replaceSubview:customNodeView with:[customNodeController view]]; customNodeView = [customNodeController view]; - [[self window] setContentSize:[preambleView frame].size]; - [[[self window] contentView] addSubview:preambleView]; - currentViewTag = 3; + [[self window] setContentSize:[engineView frame].size]; + [[[self window] contentView] addSubview:engineView]; + currentViewTag = 1; } - (IBAction)switchView:(id)sender { |