839
836
selected_search = self.get_selected_search()
841
838
if selected_search is not None:
842
self.searchpopup.popup(None, None, None, event.button, time)
841
self.tagpopup.popup(None, None, None, event.button, time)
843
842
elif len(selected_tags) > 0:
844
843
# Then we are looking at single, normal tag rather than
845
844
# the special 'All tags' or 'Tasks without tags'. We only
846
845
# want to popup the menu for normal tags.
849
848
self.tagpopup.popup(None, None, None, event.button, time)