mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Merge pull request #201 from amnezia-vpn/bugfix/reset-container-settings-after-adding-new-one
bugfix/reset-container-settings-after-adding-new-one
This commit is contained in:
@@ -31,6 +31,7 @@ void ServerContainersLogic::onUpdatePage()
|
|||||||
p_model->setSelectedServerIndex(uiLogic()->m_selectedServerIndex);
|
p_model->setSelectedServerIndex(uiLogic()->m_selectedServerIndex);
|
||||||
|
|
||||||
set_isManagedServer(m_settings->haveAuthData(uiLogic()->m_selectedServerIndex));
|
set_isManagedServer(m_settings->haveAuthData(uiLogic()->m_selectedServerIndex));
|
||||||
|
uiLogic()->m_installCredentials = m_settings->serverCredentials(uiLogic()->m_selectedServerIndex);
|
||||||
emit updatePage();
|
emit updatePage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ void ServerListLogic::onServerListPushbuttonDefaultClicked(int index)
|
|||||||
void ServerListLogic::onServerListPushbuttonSettingsClicked(int index)
|
void ServerListLogic::onServerListPushbuttonSettingsClicked(int index)
|
||||||
{
|
{
|
||||||
uiLogic()->m_selectedServerIndex = index;
|
uiLogic()->m_selectedServerIndex = index;
|
||||||
uiLogic()->m_installCredentials = m_settings->serverCredentials(index);
|
|
||||||
uiLogic()->goToPage(Page::ServerSettings);
|
uiLogic()->goToPage(Page::ServerSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user