[fix][ui] not scrolling the table to top after updating its content

This commit is contained in:
Vinicius Moreira
2020-06-11 10:10:25 -03:00
parent 036855400f
commit c44914d747
2 changed files with 3 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- handling web page fetch errors
- UI
- displaying empty categories
- not scrolling the table to top after updating its content
- minor fixes
## [0.9.5] 2020-06-07

View File

@@ -270,6 +270,8 @@ class AppsTable(QTableWidget):
self._update_row(pkg, update_check_enabled)
self.scrollToTop()
def _update_row(self, pkg: PackageView, update_check_enabled: bool = True, change_update_col: bool = True):
self._set_col_name(0, pkg)
self._set_col_version(1, pkg)