From a24e9c697049bacb587835153e2ebb4764fff008 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 23 Feb 2010 01:26:33 +0000 Subject: Fix Issue #574 (foreign key links not working after first use): - Move foreign key reference loading into it's own task and set state modification markers to allow it to override the table state history - Rename modifyingHistoryState to modifyingState now the usge has broadened slightly --- Source/TableDocument.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/TableDocument.m') diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 67d30f71..25fa50a0 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -991,10 +991,10 @@ NSAutoreleasePool *taskPool = [[NSAutoreleasePool alloc] init]; // Save existing scroll position and details, and ensure no duplicate entries are created as table list changes - BOOL historyStateChanging = [spHistoryControllerInstance modifyingHistoryState]; + BOOL historyStateChanging = [spHistoryControllerInstance modifyingState]; if (!historyStateChanging) { [spHistoryControllerInstance updateHistoryEntries]; - [spHistoryControllerInstance setModifyingHistoryState:YES]; + [spHistoryControllerInstance setModifyingState:YES]; } // show error on connection failed @@ -1018,7 +1018,7 @@ // Add a history entry if (!historyStateChanging) { - [spHistoryControllerInstance setModifyingHistoryState:NO]; + [spHistoryControllerInstance setModifyingState:NO]; [spHistoryControllerInstance updateHistoryEntries]; } -- cgit v1.2.3