auto reconection when current-server's defaul container hase been changed
This commit is contained in:
parent
f11c65c393
commit
bfc8c10f3d
10 changed files with 74 additions and 18 deletions
|
@ -336,6 +336,8 @@ void AmneziaApplication::initControllers()
|
|||
&PageController::showPassphraseRequestDrawer);
|
||||
connect(m_pageController.get(), &PageController::passphraseRequestDrawerClosed, m_installController.get(),
|
||||
&InstallController::setEncryptedPassphrase);
|
||||
connect(m_installController.get(), &InstallController::currentContainerChanged, m_connectionController.get(),
|
||||
&ConnectionController::onCurrentContainerChanged);
|
||||
|
||||
m_importController.reset(new ImportController(m_serversModel, m_containersModel, m_settings));
|
||||
m_engine->rootContext()->setContextProperty("ImportController", m_importController.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue