mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[window] fix: not refreshing all package type after uninstalling a recent installed package
This commit is contained in:
@@ -481,7 +481,7 @@ class ManageWindow(QWidget):
|
||||
if self._can_notify_user():
|
||||
util.notify_user('{} ({}) {}'.format(pkgv.model.name, pkgv.model.get_type(), self.i18n['uninstalled']))
|
||||
|
||||
self.refresh_apps(pkg_types={pkgv.model.__class__})
|
||||
self.refresh_apps(pkg_types={pkgv.model.__class__} if len(self.pkgs) > 1 else None)
|
||||
else:
|
||||
if self._can_notify_user():
|
||||
util.notify_user('{}: {}'.format(pkgv.model.name, self.i18n['notification.uninstall.failed']))
|
||||
|
||||
Reference in New Issue
Block a user