1 files changed, 2 insertions, 1 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp
index d49fc746..9aadc101 100644
--- a/src/TextInputWidget.cpp
+++ b/src/TextInputWidget.cpp
@@ -666,7 +666,8 @@ void
TextInputWidget::changeCallButtonState(WebRTCSession::State state)
{
QIcon icon;
- if (state == WebRTCSession::State::DISCONNECTED) {
+ if (state == WebRTCSession::State::ICEFAILED ||
+ state == WebRTCSession::State::DISCONNECTED) {
callBtn_->setToolTip(tr("Place a call"));
icon.addFile(":/icons/icons/ui/place-call.png");
} else {
|