aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-22 12:04:28 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-22 12:04:28 +0000
commite4db241d2ddf8f4548355addb207ab6c77967e70 (patch)
treea41966d64688d720aa829928713b2556e9596214 /Source
parentc7926a24a7e892a5c4db8e23caa01ca059d29b56 (diff)
downloadsequelpro-e4db241d2ddf8f4548355addb207ab6c77967e70.tar.gz
sequelpro-e4db241d2ddf8f4548355addb207ab6c77967e70.tar.bz2
sequelpro-e4db241d2ddf8f4548355addb207ab6c77967e70.zip
• fixed bug while editing views if a filter is in usage
- make sure that setTableDetails will always called for the current selected table even if edited field origin is another table
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index e9a496ae..dfb54e69 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -3621,13 +3621,12 @@
}
-
// Reload table after each editing due to complex declarations
if(isFirstChangeInView) {
// Set up the table details for the new table, and trigger an interface update
// if the view was modified for the very first time
NSDictionary *tableDetails = [NSDictionary dictionaryWithObjectsAndKeys:
- tableForColumn, @"name",
+ selectedTable, @"name",
[tableDataInstance columns], @"columns",
[tableDataInstance columnNames], @"columnNames",
[tableDataInstance getConstraints], @"constraints",