mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][ui] displaying the type filters on the search results when there is only one type available and some actions are done
This commit is contained in:
@@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- not scrolling the table to top after updating its content
|
||||
- not calling initial required tasks after enabling a new package type on settings
|
||||
- not updating the type filters if only type is available after refreshing the table
|
||||
- displaying the type filters on the search results when there is only one type available and some actions are done
|
||||
- minor fixes
|
||||
- Tray
|
||||
- update notifications not working on Ubuntu 18.04
|
||||
|
||||
@@ -853,7 +853,7 @@ class ManageWindow(QWidget):
|
||||
def _update_type_filters(self, available_types: dict = None, keep_selected: bool = False):
|
||||
|
||||
if available_types is None:
|
||||
self.ref_combo_filter_type.setVisible(self.combo_filter_type.count() > 1)
|
||||
self.ref_combo_filter_type.setVisible(self.combo_filter_type.count() > 2)
|
||||
else:
|
||||
keeping_selected = keep_selected and available_types and self.type_filter in available_types
|
||||
|
||||
|
||||
Reference in New Issue
Block a user