[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

@@ -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: