|
|
@ -303,6 +303,13 @@ void Controller::getInfoThenRefresh(bool force) |
|
|
|
if (!zrpc->haveConnection()) |
|
|
|
return noConnection(); |
|
|
|
|
|
|
|
// Update current server in Info Tab
|
|
|
|
auto current_server = Settings::getInstance()->getSettings().server; |
|
|
|
ui->current_server->setText(current_server); |
|
|
|
|
|
|
|
// no need to update sticky server because currently there is no
|
|
|
|
// way to change that at run-time via GUI
|
|
|
|
|
|
|
|
static bool prevCallSucceeded = false; |
|
|
|
|
|
|
|
zrpc->fetchInfo([=] (const json& reply) { |
|
|
|