From 45d3ddf30437903045f31a30356502af91dd7a7d Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 4 Aug 2009 23:42:53 +0000 Subject: - Fix some small memory leaks when changing tables - Fix the history navigation to correctly switch across databases without invalid history states --- Source/SPHistoryController.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/SPHistoryController.h') diff --git a/Source/SPHistoryController.h b/Source/SPHistoryController.h index 3e3c5452..4924d036 100644 --- a/Source/SPHistoryController.h +++ b/Source/SPHistoryController.h @@ -42,9 +42,11 @@ enum sphistory_view_types TableContent *tableContentInstance; NSMutableArray *history; unsigned int historyPosition; - BOOL restoringHistoryState; + BOOL modifyingHistoryState; } +@property (readwrite, assign) BOOL modifyingHistoryState; + // Interface interaction - (void) updateToolbarItem; - (IBAction) historyControlClicked:(NSSegmentedControl *)theControl; -- cgit v1.2.3