Update internal listview state when saving to disk
Fixes remembering sort column
This commit is contained in:
parent
56d216adf7
commit
813261df07
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue