mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][ui] not scrolling the table to top after updating its content
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user