Commit 7b2992fd authored by Ronan Abhamon's avatar Ronan Abhamon

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

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