mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 04:04:15 +02:00
[view] fix: double suggestions loading call when no app is returned
This commit is contained in:
@@ -46,6 +46,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- Flatpak
|
- Flatpak
|
||||||
- not all selected runtime partials to upgrade are actually requested to be upgraded
|
- not all selected runtime partials to upgrade are actually requested to be upgraded
|
||||||
|
|
||||||
|
- UI
|
||||||
|
- double suggestions loading call when no app is returned
|
||||||
|
|
||||||
|
|
||||||
## [0.10.2] 2022-04-16
|
## [0.10.2] 2022-04-16
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|||||||
@@ -969,12 +969,12 @@ class ManageWindow(QWidget):
|
|||||||
commons.update_info(pkgv, pkgs_info)
|
commons.update_info(pkgv, pkgs_info)
|
||||||
commons.apply_filters(pkgv, filters, pkgs_info)
|
commons.apply_filters(pkgv, filters, pkgs_info)
|
||||||
|
|
||||||
if pkgs_info['apps_count'] == 0:
|
if pkgs_info['apps_count'] == 0 and not self.suggestions_requested:
|
||||||
if self.load_suggestions or self.types_changed:
|
if self.load_suggestions or self.types_changed:
|
||||||
if as_installed:
|
if as_installed:
|
||||||
self.pkgs_installed = pkgs_info['pkgs']
|
self.pkgs_installed = pkgs_info['pkgs']
|
||||||
|
|
||||||
self.begin_load_suggestions(filter_installed=False)
|
self.begin_load_suggestions(filter_installed=True)
|
||||||
self.load_suggestions = False
|
self.load_suggestions = False
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user