From e4db241d2ddf8f4548355addb207ab6c77967e70 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 22 Oct 2010 12:04:28 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20bug=20while=20editing=20views=20if?= =?UTF-8?q?=20a=20filter=20is=20in=20usage=20-=20make=20sure=20that=20setT?= =?UTF-8?q?ableDetails=20will=20always=20called=20for=20the=20current=20se?= =?UTF-8?q?lected=20table=20even=20if=20edited=20field=20origin=20is=20ano?= =?UTF-8?q?ther=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTableContent.m | 3 +-- 1 file changed, 1 insertion(+), 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", -- cgit v1.2.3