mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 16:44:16 +02:00
fix: not loading application icons after some filters are applied to the table results
This commit is contained in:
@@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- application not initializing when there is no internet connection
|
- application not initializing when there is no internet connection
|
||||||
|
- not loading application icons after some filters are applied to the table results
|
||||||
- AUR:
|
- AUR:
|
||||||
- update-checking for some scenarios
|
- update-checking for some scenarios
|
||||||
- not respecting **ignorepkg** settings in **pacman.conf**
|
- not respecting **ignorepkg** settings in **pacman.conf**
|
||||||
|
|||||||
@@ -352,6 +352,7 @@ class VerifyModels(QThread):
|
|||||||
def __init__(self, apps: List[PackageView] = None):
|
def __init__(self, apps: List[PackageView] = None):
|
||||||
super(VerifyModels, self).__init__()
|
super(VerifyModels, self).__init__()
|
||||||
self.apps = apps
|
self.apps = apps
|
||||||
|
self.work = True
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
@@ -361,6 +362,10 @@ class VerifyModels(QThread):
|
|||||||
last_ready = 0
|
last_ready = 0
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
||||||
|
if not self.work:
|
||||||
|
break
|
||||||
|
|
||||||
current_ready = 0
|
current_ready = 0
|
||||||
|
|
||||||
for app in self.apps:
|
for app in self.apps:
|
||||||
@@ -379,6 +384,7 @@ class VerifyModels(QThread):
|
|||||||
|
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
self.work = True
|
||||||
self.apps = None
|
self.apps = None
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -314,6 +314,12 @@ class ManageWindow(QWidget):
|
|||||||
self._update_table(pkgs_info=pkgs_info, signal=True)
|
self._update_table(pkgs_info=pkgs_info, signal=True)
|
||||||
self.update_bt_upgrade(pkgs_info)
|
self.update_bt_upgrade(pkgs_info)
|
||||||
|
|
||||||
|
if self.pkgs_available:
|
||||||
|
self.thread_verify_models.work = False
|
||||||
|
self.thread_verify_models.wait(50)
|
||||||
|
self.thread_verify_models.apps = self.pkgs_available
|
||||||
|
self.thread_verify_models.start()
|
||||||
|
|
||||||
def _finish_apply_filters_async(self, success: bool):
|
def _finish_apply_filters_async(self, success: bool):
|
||||||
self.label_status.setText('')
|
self.label_status.setText('')
|
||||||
self.ref_toolbar_search.setVisible(True)
|
self.ref_toolbar_search.setVisible(True)
|
||||||
|
|||||||
Reference in New Issue
Block a user