Added dynamic visibility for edit button. Button should only be used if history is enabled and thus will be saved. Otherwise direct editing should be possible

This commit is contained in:
michael starke
2013-10-23 03:01:12 +02:00
parent 620be11f0d
commit 55b4ce648f
8 changed files with 98 additions and 54 deletions

View File

@@ -406,6 +406,8 @@ typedef NS_ENUM(NSUInteger, MPAlertContext) {
[_entryViewController updateResponderChain];
[_inspectorViewController updateResponderChain];
[_outlineViewController updateResponderChain];
/* Custom setup after being added to window */
[_inspectorViewController prepareView];
[_outlineViewController showOutline];
}