mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Allow to select a Terminated chat room.
This commit is contained in:
parent
81f3bdf632
commit
a8184ccdca
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