aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-10-27 02:10:26 +0000
committerrowanbeentje <rowan@beent.je>2009-10-27 02:10:26 +0000
commitf90186c282f37878f9c80b41a478bcde4af74502 (patch)
tree66851f80f1c74ca5f9668f35ae2487e336b8dc8a /Source/TableDocument.m
parenta99b0940d264ffbc4c525c5f17049f64e391ccc3 (diff)
downloadsequelpro-f90186c282f37878f9c80b41a478bcde4af74502.tar.gz
sequelpro-f90186c282f37878f9c80b41a478bcde4af74502.tar.bz2
sequelpro-f90186c282f37878f9c80b41a478bcde4af74502.zip
- When performing threaded data loads, no longer disable the tables and instead prevent selection/editing/sorting in code; this prevents the tableviews from going grey during the load and minimises flicker and loss of focussed elements.
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 40428e53..21e12919 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -1130,7 +1130,6 @@
// Set flags and prevent further UI interaction in this window
_isWorking = YES;
- [dbTablesTableView setEnabled:NO];
[historyControl setEnabled:NO];
[[NSNotificationCenter defaultCenter] postNotificationName:SPDocumentTaskStartNotification object:self];
@@ -1207,7 +1206,6 @@
// Re-enable window interface
_isWorking = NO;
- [dbTablesTableView setEnabled:YES];
[historyControl setEnabled:YES];
[[NSNotificationCenter defaultCenter] postNotificationName:SPDocumentTaskEndNotification object:self];
}