mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix #LINQT-1644 force refresh register when switching to enabled
This commit is contained in:
parent
fd57e952e4
commit
5f203ced1c
1 changed files with 1 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ void AccountModel::setRegisterEnabled(bool enabled) {
|
|||
auto params = mMonitor->getParams()->clone();
|
||||
params->enableRegister(enabled);
|
||||
mMonitor->setParams(params);
|
||||
if (enabled) mMonitor->refreshRegister();
|
||||
emit registerEnabledChanged(enabled);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue