aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-21 15:04:26 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-21 15:04:26 +0000
commit919f4705fc4d4e59133e4279a1e87dc432e12f2d (patch)
tree66a68e5468ce07686018771b8a688dab3e6d523d /Source/TableDocument.m
parentae11a5012799de3e4f2f8a682fb4dcfdae0563c2 (diff)
downloadsequelpro-919f4705fc4d4e59133e4279a1e87dc432e12f2d.tar.gz
sequelpro-919f4705fc4d4e59133e4279a1e87dc432e12f2d.tar.bz2
sequelpro-919f4705fc4d4e59133e4279a1e87dc432e12f2d.zip
• Navigator
- preserve selection; if generally possible check if selected item still exists if not select parent if still exists on so forth - a reload should only occurs if structure was changed
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index bd9998b2..36291911 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -854,6 +854,9 @@
// Lock editability again if performing a task
if (_isWorkingLevel) databaseListIsSelectable = NO;
+ // Do not update the navigator since nothing is changed
+ [[SPNavigatorController sharedNavigatorController] setIgnoreUpdate:YES];
+
// Start a task
[self startTaskWithDescription:[NSString stringWithFormat:NSLocalizedString(@"Loading database '%@'...", @"Loading database task string"), [chooseDatabaseButton titleOfSelectedItem]]];
if ([NSThread isMainThread]) {