mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 08:14:16 +02:00
[fix][ui] not reorganizing the window when the update is button checked
This commit is contained in:
@@ -501,7 +501,6 @@ class ManageWindow(QWidget):
|
||||
def _finish_apply_filters(self):
|
||||
self._finish_action(ACTION_APPLY_FILTERS)
|
||||
self.update_bt_upgrade()
|
||||
self._reorganize()
|
||||
|
||||
def _update_table_and_upgrades(self, pkgs_info: dict):
|
||||
self._update_table(pkgs_info=pkgs_info, signal=True)
|
||||
@@ -842,6 +841,9 @@ class ManageWindow(QWidget):
|
||||
|
||||
self.comp_manager.set_component_visible(BT_UPGRADE, show_bt_upgrade)
|
||||
|
||||
if show_bt_upgrade:
|
||||
self._reorganize()
|
||||
|
||||
def change_update_state(self, pkgs_info: dict, trigger_filters: bool = True, keep_selected: bool = False):
|
||||
self.update_bt_upgrade(pkgs_info)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user