Commit 52bb5ddc authored by Ming Rui Zhang's avatar Ming Rui Zhang

callwidget: reset check state of conversation and invitation btn, once invitation is zero

Change-Id: Idb2fe1335d1d607ca903b0ea3ec330b5466b6200
parent f713dab5
......@@ -888,6 +888,10 @@ void CallWidget::updateConversationsFilterWidget()
LRCInstance::getCurrentConversationModel()->setFilter(currentTypeFilter_);
}
ui->conversationsFilterWidget->setVisible(invites);
if (!invites) {
Utils::whileBlocking<QPushButton>(ui->btnConversations)->setChecked(true);
Utils::whileBlocking<QPushButton>(ui->btnInvites)->setChecked(false);
}
ui->searchTopLeftWidget->setVisible(invites);
ui->searchTopRightWidget->setVisible(invites);
ui->conversationsFilterWidget->update();
......
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