fix: not keeping the update toggle-button state after a filter is applied

This commit is contained in:
Vinicius Moreira
2019-10-24 18:18:47 -03:00
parent 1a4ccfcefe
commit c631ecdb06
3 changed files with 5 additions and 3 deletions

View File

@@ -231,7 +231,7 @@ class AppsTable(QTableWidget):
col_update = None
if update_check_enabled and pkg.model.update:
col_update = UpdateToggleButton(pkg, self.window, self.i18n, pkg.model.update)
col_update = UpdateToggleButton(pkg, self.window, self.i18n, pkg.update_checked)
self.setCellWidget(pkg.table_index, 7, col_update)