mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 14:24:15 +02:00
[window] resizing combos after a selection
This commit is contained in:
@@ -388,10 +388,12 @@ class ManageWindow(QWidget):
|
|||||||
|
|
||||||
def _handle_type_filter(self, idx: int):
|
def _handle_type_filter(self, idx: int):
|
||||||
self.type_filter = self.combo_filter_type.itemData(idx)
|
self.type_filter = self.combo_filter_type.itemData(idx)
|
||||||
|
self.combo_filter_type.adjustSize()
|
||||||
self.apply_filters_async()
|
self.apply_filters_async()
|
||||||
|
|
||||||
def _handle_category_filter(self, idx: int):
|
def _handle_category_filter(self, idx: int):
|
||||||
self.category_filter = self.combo_categories.itemData(idx)
|
self.category_filter = self.combo_categories.itemData(idx)
|
||||||
|
self.combo_categories.adjustSize()
|
||||||
self.apply_filters_async()
|
self.apply_filters_async()
|
||||||
|
|
||||||
def _notify_model_data_change(self):
|
def _notify_model_data_change(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user