Commit 9690f647 authored by Anthony Léonard's avatar Anthony Léonard Committed by Olivier SOLDANO

refresh smartlist on current account changes

With this modification, the smartlist now displays the conversations
that are linked to the selected account. The list updates its content
when the selection model of AvailableAccount model is changed.

Change-Id: Ie611f013f6eeb5763061380c34ab7d680f4c4b02
Reviewed-by: default avatarOlivier Soldano <>
parent 5cc76412
......@@ -709,6 +709,9 @@ CallWidget::selectedAccountChanged(const QModelIndex &current, const QModelIndex
crListSelectionConnection_ = connect(ui->contactReqList->selectionModel(), &QItemSelectionModel::currentChanged,
this, &CallWidget::contactReqListCurrentChanged);
// Smartlist filter is refreshed to filter out CMs not linked to the new selected account
// We modify the currentAccountWidget to reflect the new selected account
// if the event wasn't triggered by this widget
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