mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[improvement][ui] respecting the 'updates' filter after ignoring a package update
This commit is contained in:
@@ -1271,7 +1271,11 @@ class ManageWindow(QWidget):
|
||||
self.finish_action()
|
||||
|
||||
if res['success']:
|
||||
self.table_apps.update_package(res['pkg'], change_update_col=True)
|
||||
if self.ref_checkbox_updates.isVisible() and self.filter_updates:
|
||||
self.table_apps.model().removeRow(res['pkg'].table_index)
|
||||
else:
|
||||
self.table_apps.update_package(res['pkg'], change_update_col=True)
|
||||
|
||||
dialog.show_message(title=self.i18n['success'].capitalize(),
|
||||
body=self.i18n['action.{}.success'.format(res['action'])].format(bold(res['pkg'].model.name)),
|
||||
type_=MessageType.INFO)
|
||||
|
||||
Reference in New Issue
Block a user