mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Merge pull request 'Fix connection status message' (#351) from tobtoht/feather:fix_connect into master
Reviewed-on: https://git.featherwallet.org/feather/feather/pulls/351
This commit is contained in:
+9
-6
@@ -881,13 +881,16 @@ void MainWindow::showConnectionStatusDialog() {
|
||||
case Wallet::ConnectionStatus_WrongVersion:
|
||||
statusMsg = "Wallet is connected to incompatible daemon.";
|
||||
break;
|
||||
case Wallet::ConnectionStatus_Synchronizing: {
|
||||
auto node = m_ctx->nodes->connection();
|
||||
statusMsg = QString("Wallet is connected to %1").arg(node.full);
|
||||
}
|
||||
case Wallet::ConnectionStatus_Synchronizing:
|
||||
case Wallet::ConnectionStatus_Synchronized: {
|
||||
if (synchronized)
|
||||
statusMsg += " and synchronized";
|
||||
auto node = m_ctx->nodes->connection();
|
||||
statusMsg = QString("Wallet is connected to %1 ").arg(node.full);
|
||||
|
||||
if (synchronized) {
|
||||
statusMsg += "and synchronized";
|
||||
} else {
|
||||
statusMsg += "and synchronizing";
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user