diff --git a/callwidget.cpp b/callwidget.cpp index 9806284f4e519e3d566451c35b822ace81d320a6..9c63093aa9bc9e19c933b788c747302a74d5cd2b 100644 --- a/callwidget.cpp +++ b/callwidget.cpp @@ -690,6 +690,9 @@ CallWidget::selectedAccountChanged(const QModelIndex ¤t, const QModelIndex Q_UNUSED(previous) if (current.isValid()) { + if (ui->selectBar->isHidden()){ + ui->selectBar->show(); + } auto ac = current.data(static_cast<int>(Account::Role::Object)).value<Account*>(); // First, we get back to the welcome view (except if in call) @@ -729,6 +732,9 @@ CallWidget::selectedAccountChanged(const QModelIndex ¤t, const QModelIndex // keep call on foreground callStateToView(actualCall_); } + } else { + ui->selectBar->hide(); + ui->ringIdLabel->setText(""); } }