mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][ui] cleaning the search text after the installation
This commit is contained in:
@@ -898,10 +898,10 @@ class ApplyFilters(AsyncAction):
|
|||||||
commons.update_info(pkgv, pkgs_info)
|
commons.update_info(pkgv, pkgs_info)
|
||||||
commons.apply_filters(pkgv, self.filters, pkgs_info, limit=not name_filtering)
|
commons.apply_filters(pkgv, self.filters, pkgs_info, limit=not name_filtering)
|
||||||
|
|
||||||
if pkgs_info['pkgs_displayed'] and name_filtering:
|
if name_filtering and pkgs_info['pkgs_displayed']:
|
||||||
pkgs_info['pkgs_displayed'] = self._sort_by_word(word=self.filters['name'],
|
pkgs_info['pkgs_displayed'] = self._sort_by_word(word=self.filters['name'],
|
||||||
pkgs=pkgs_info['pkgs_displayed'],
|
pkgs=pkgs_info['pkgs_displayed'],
|
||||||
limit=self.filters['display_limit'])
|
limit=self.filters['display_limit'])
|
||||||
|
|
||||||
self.wait_table_update = True
|
self.wait_table_update = True
|
||||||
self.signal_table.emit(pkgs_info)
|
self.signal_table.emit(pkgs_info)
|
||||||
|
|||||||
@@ -1181,7 +1181,6 @@ class ManageWindow(QWidget):
|
|||||||
self.thread_install.start()
|
self.thread_install.start()
|
||||||
|
|
||||||
def _finish_install(self, res: dict):
|
def _finish_install(self, res: dict):
|
||||||
self.input_search.setText('')
|
|
||||||
self.finish_action()
|
self.finish_action()
|
||||||
|
|
||||||
console_output = self.textarea_output.toPlainText()
|
console_output = self.textarea_output.toPlainText()
|
||||||
|
|||||||
Reference in New Issue
Block a user