aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m17
1 files changed, 9 insertions, 8 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 6b61a99e..9a264c30 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -5794,7 +5794,7 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0;
);
}
-- (void)registerActivity:(NSDictionary*)commandDict
+- (void)registerActivity:(NSDictionary *)commandDict
{
[runningActivitiesArray addObject:commandDict];
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPActivitiesUpdateNotification object:self];
@@ -5832,23 +5832,24 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0;
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPActivitiesUpdateNotification object:self];
}
-- (void)setActivityPaneHidden:(NSNumber*)hide
+- (void)setActivityPaneHidden:(NSNumber *)hide
{
- if(hide.boolValue) {
- [tableInfoScrollView setHidden:YES];
- [documentActivityScrollView setHidden:NO];
- } else {
+ if (hide.boolValue) {
[documentActivityScrollView setHidden:YES];
[tableInfoScrollView setHidden:NO];
}
+ else {
+ [tableInfoScrollView setHidden:YES];
+ [documentActivityScrollView setHidden:NO];
+ }
}
-- (NSArray*)runningActivities
+- (NSArray *)runningActivities
{
return (NSArray*)runningActivitiesArray;
}
-- (NSDictionary*)shellVariables
+- (NSDictionary *)shellVariables
{
if(!_isConnected) return @{};