self._update_widgets_for_session()# clean this up -Dan (too many functions called in 3 different places: on selection changed, here and on notifications handlers)
self.tab_widget.setCurrentWidget(self.selected_session.chat_widget)# why do we switch the tab here, but do everything else in the selected_session property setter? -Dan