Update internal listview state when saving to disk

Fixes remembering sort column
This commit is contained in:
Chase Sterling 2014-02-22 14:54:37 -05:00
parent 56d216adf7
commit 813261df07
1 changed files with 2 additions and 0 deletions

View File

@ -281,6 +281,8 @@ class ListView:
state.append(self.create_column_state(column, counter)) state.append(self.create_column_state(column, counter))
state += self.removed_columns_state state += self.removed_columns_state
self.state = state
save_pickled_state_file(filename, state) save_pickled_state_file(filename, state)
def load_state(self, filename): def load_state(self, filename):