def on_search_clicked(self, button): """ Callback of the search button """ #disable the button, so that no multiple queries are launched while #still one is active self.lock() filter = Filter(FilterType.ADVANCED_FILTER) filter.initialize_from_stored_filter_settings() guicontroller = GuiController() guicontroller.executeMasterServerQuery(filter, self.parent)
def on_search_clicked(self, widget): """ Callback for the search button - triggers the execution of the master server query """ #disable the button, so that no multiple queries are launched while #still one is active self.lock() #update the filter dict of the filemanager self.save_filter() filter = Filter(FilterType.BASIC_FILTER) filter.initialize_from_stored_filter_settings() guicontroller = GuiController() guicontroller.executeMasterServerQuery(filter, self.parent)