diff options
author | rowanbeentje <rowan@beent.je> | 2009-08-04 23:42:53 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-08-04 23:42:53 +0000 |
commit | 45d3ddf30437903045f31a30356502af91dd7a7d (patch) | |
tree | 98da573a3d1ab5eabaef1331b93bcf6e6cd3d453 /Source/SPHistoryController.h | |
parent | 4ce2164c519d4382b67255523c96c9e03f7fdcc6 (diff) | |
download | sequelpro-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.h | 4 |
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; |