Commit 79c97010 authored by Tijmen de Mes's avatar Tijmen de Mes

Show session list by default when starting chat/messages/call

parent 61cd8f54
......@@ -2659,6 +2659,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
selection_model = self.session_list.selectionModel()
selection_model.select(model.index(position), selection_model.ClearAndSelect)
self.session_list.scrollTo(model.index(position), QListView.EnsureVisible) # or PositionAtCenter
self.session_list.animation.setStartValue(self.session_widget.geometry())
self.session_list.show()
session.chat_widget.chat_input.setFocus(Qt.OtherFocusReason)
def _SH_SessionModelSessionRemoved(self, session):
......
Markdown is supported
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