mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Allow to select a Terminated chat room.
(cherry picked from commit a8184ccdca)
This commit is contained in:
parent
990dbc610a
commit
9f4ba05e7f
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ void TimelineModel::setSelected(const bool& selected){
|
|||
}
|
||||
|
||||
void TimelineModel::delaySelected(){
|
||||
if( mChatRoomModel->getState() == LinphoneEnums::ChatRoomStateCreated){
|
||||
if( mChatRoomModel->getState() == LinphoneEnums::ChatRoomStateCreated || mChatRoomModel->getState() == LinphoneEnums::ChatRoomStateTerminated){
|
||||
QTimer::singleShot(200, [&](){// Delay process in order to let GUI time for Timeline building/linking before doing actions
|
||||
setSelected(true);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue