Do not save table header state on resize

It causes a call for each column, better to only save when exiting the dialog (already done)
This commit is contained in:
Laurent Monin
2018-01-20 11:33:56 +01:00
parent c4e1c2584d
commit 2af8c683b4

View File

@@ -268,8 +268,6 @@ class SearchDialog(PicardDialog):
self.table = ResultTable(self, self.table_headers)
self.table.setObjectName("results_table")
self.table.cellDoubleClicked.connect(self.accept)
self.table.horizontalHeader().sectionResized.connect(
self.save_table_header_state)
self.restore_table_header_state()
self.add_widget_to_center_layout(self.table)
def enable_accept_button():