diff options
-rw-r--r-- | Source/SPDatabaseDocument.h | 2 | ||||
-rw-r--r-- | Source/SPDatabaseDocument.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h index 05dd8639..1b7bc68a 100644 --- a/Source/SPDatabaseDocument.h +++ b/Source/SPDatabaseDocument.h @@ -68,7 +68,7 @@ { #ifdef SP_CODA /* patch */ id delegate; - BottomBarSegmentedControl* _structureContentSwitcher; + BottomBarSegmentedControl* structureContentSwitcher; #endif // IBOutlets diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 108fc40c..577306ae 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -3617,7 +3617,7 @@ static NSString *SPRenameDatabaseAction = @"SPRenameDatabase"; #ifndef SP_CODA return [[self selectedToolbarItemIdentifier] isEqualToString:SPMainToolbarCustomQuery]; #else - return ([_structureContentSwitcher selectedSegment] == 2); + return ([structureContentSwitcher selectedSegment] == 2); #endif } |