fix : for regression in hangup action
- Change 3650 (fix for regression in hangup action) brings some bug.
This patch fix the bug caused by change 3541 and 3650.
Change-Id: I60e1141099657618b64d86b7bed861f07284e602
Tuleap: #379
diff --git a/callwidget.cpp b/callwidget.cpp
index 6cfd20c..c793e96 100644
--- a/callwidget.cpp
+++ b/callwidget.cpp
@@ -373,6 +373,7 @@
if (actualCall_ == nullptr)
return;
actualCall_->performAction(Call::Action::REFUSE);
+ ui->stackedWidget->setCurrentWidget(ui->welcomePage);
setActualCall(nullptr);
}
@@ -469,8 +470,7 @@
default:
break;
}
- } else
- ui->stackedWidget->setCurrentWidget(ui->welcomePage);
+ }
}
void