[ui] Only centralizing the panel for the first refresh

This commit is contained in:
Vinícius Moreira
2020-01-09 18:53:05 -03:00
parent defe9df159
commit d8d603b73c
2 changed files with 3 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### UI
- Default **Type** icon removed from the Type filter to make the design more consistent with the Category filter.
- Only centralizing the panel for the first refresh
## [0.8.0] 2019-12-24
### Features

View File

@@ -843,7 +843,8 @@ class ManageWindow(QWidget):
if self.ref_bt_upgrade.isVisible() and self.bt_upgrade.visibleRegion().isEmpty():
self.adjustSize()
qt_utils.centralize(self)
if self.first_refresh:
qt_utils.centralize(self)
def update_selected(self):
if self.pkgs: