little changes for the filter bar

This commit is contained in:
DYefremov
2018-09-12 17:46:45 +03:00
parent 403426ba75
commit 5d01bd5479
2 changed files with 1 additions and 2 deletions

View File

@@ -1093,14 +1093,12 @@ class MainAppWindow:
# ***************** Filter and search *********************#
@run_idle
def on_filter_toggled(self, toggle_button: Gtk.ToggleToolButton):
active = toggle_button.get_active()
if active:
self.update_filter_sat_positions()
self._filter_bar.set_search_mode(active)
self._filter_bar.set_visible(active)
@run_idle
def update_filter_sat_positions(self):