aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPHistoryController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-08-04 23:42:53 +0000
committerrowanbeentje <rowan@beent.je>2009-08-04 23:42:53 +0000
commit45d3ddf30437903045f31a30356502af91dd7a7d (patch)
tree98da573a3d1ab5eabaef1331b93bcf6e6cd3d453 /Source/SPHistoryController.h
parent4ce2164c519d4382b67255523c96c9e03f7fdcc6 (diff)
downloadsequelpro-45d3ddf30437903045f31a30356502af91dd7a7d.tar.gz
sequelpro-45d3ddf30437903045f31a30356502af91dd7a7d.tar.bz2
sequelpro-45d3ddf30437903045f31a30356502af91dd7a7d.zip
- Fix some small memory leaks when changing tables
- Fix the history navigation to correctly switch across databases without invalid history states
Diffstat (limited to 'Source/SPHistoryController.h')
-rw-r--r--Source/SPHistoryController.h4
1 files changed, 3 insertions, 1 deletions
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;