updated translated-text to connectStatusText in ConnectionController

This commit is contained in:
ronoaer
2023-10-06 14:37:10 +08:00
parent 1357c4a309
commit 9377a0b545
4 changed files with 5 additions and 4 deletions
@@ -130,8 +130,9 @@ void ConnectionController::onCurrentContainerUpdated()
}
}
void ConnectionController::translateMemoryText()
void ConnectionController::onTranslationsUpdated()
{
// get translated text of current state
onConnectionStateChanged(getCurrentConnectionState());
}
+1 -1
View File
@@ -34,7 +34,7 @@ public slots:
void onCurrentContainerUpdated();
void translateMemoryText();
void onTranslationsUpdated();
signals:
void connectToVpn(int serverIndex, const ServerCredentials &credentials, DockerContainer container,
-2
View File
@@ -171,8 +171,6 @@ PageType {
onClicked: {
tabBarStackView.goToTabBarPage(PageEnum.PageHome)
ServersModel.currentlyProcessedIndex = ServersModel.defaultIndex
ConnectionController.translateMemoryText()
}
}
TabImageButtonType {