Commit 3e81c1e2 authored by Andreas Traczyk's avatar Andreas Traczyk

fix crash when pending contact calls while editing settings

Change-Id: Ife09bb2b6529c385bc298838715cdb59e827bdee
parent d2e8d0eb
......@@ -704,7 +704,8 @@ void CallWidget::slotShowIncomingCallView(const std::string& accountId,
}
if (!itemInCurrentFilter && !isCallSelected) {
ui->smartList->selectionModel()->clear();
if (ui->smartList->selectionModel())
ui->smartList->selectionModel()->clear();
LRCInstance::setSelectedConvId(convInfo.uid);
showChatView(accountId, convInfo);
} else if (ui->messagesWidget->isHidden()) {
......
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