diff options
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 01d73820..6c1bd042 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -214,6 +214,11 @@ // Deselect all favorites [[connectionController valueForKeyPath:@"favoritesTable"] deselectAll:connectionController]; + // Suppress the possibility to choose an other connection from the favorites + // if a connection should initialized by SPF file. Otherwise it could happen + // that the SPF file runs out of sync. + [[connectionController valueForKeyPath:@"favoritesTable"] setEnabled:NO]; + NSData *pData = [NSData dataWithContentsOfFile:path options:NSUncachedRead error:&readError]; |