Commit 3b5eed22 authored by Nico's avatar Nico
Browse files

Hide option to delete contact if there's no contact shown

parent b847769e
Pipeline #4809 passed with stage
in 3 minutes and 14 seconds
......@@ -88,6 +88,7 @@ class MainWindowContainer(Container):
self.contacts_list_box.unselect_all()
self.contact_name_label.set_text("")
self._current_contact_id = 0
self.builder.get_object("chat_menu_button").hide()
def open_delete_contact_dialog(self):
if self._current_contact_id == 0:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment