diff options
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r-- | Source/TablesList.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m index 2a9a7657..dd675c43 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -679,6 +679,9 @@ // Notify listeners of the table change now that the state is fully set up. [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:tableDocumentInstance]; + // Restore view states as appropriate + [spHistoryControllerInstance restoreViewStates]; + if( selectedTableType == SP_TABLETYPE_VIEW || selectedTableType == SP_TABLETYPE_TABLE) { if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 0 ) { [tableSourceInstance loadTable:selectedTableName]; |