feat(src/components/conference/ConferenceHelperModel): invalidate filter on add/remove

This commit is contained in:
Ronan Abhamon 2017-05-12 11:17:40 +02:00
parent bc74c7a7b0
commit 7b2992fda7

View file

@ -79,7 +79,7 @@ void ConferenceHelperModel::handleCallsAboutToBeRemoved (const QModelIndex &, in
}
if (soFarSoGood) {
invalidate();
invalidateFilter();
emit inConferenceChanged(mInConference);
}
}
@ -90,8 +90,10 @@ void ConferenceHelperModel::handleCallRunning (int, CallModel *callModel) {
? addToConference(sipAddress)
: removeFromConference(sipAddress);
if (soFarSoGood)
if (soFarSoGood) {
invalidateFilter();
emit inConferenceChanged(mInConference);
}
}
// -----------------------------------------------------------------------------