Skip to content
Snippets Groups Projects
Commit 949eb312 authored by Nico's avatar Nico
Browse files

Don't unselect contact rows on opening

Fixes #93
parent 80c73b06
No related branches found
No related tags found
1 merge request!98Don't unselect contact rows on opening
Pipeline #5953 passed
......@@ -97,7 +97,6 @@ class PrivateChatPresenter:
self._show_chat_placeholder(main_content_stack)
self._show_sidebar_box()
self._clear_history_container()
self._unselect_contact()
self._set_contact_name_label("")
self._view.contact_id = 0
self._hide_chat_menu_button()
......@@ -228,10 +227,6 @@ class PrivateChatPresenter:
"chat_placeholder")
chat_placeholder.show()
def _unselect_contact(self):
contacts_list_box = self._view.builder.get_object("contacts_list_box")
contacts_list_box.unselect_all()
def _hide_chat_menu_button(self):
chat_menu_button = self._view.builder.get_object("chat_menu_button")
chat_menu_button.hide()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment