From 541b42a01a21b36e3d1031b3f329943ca958e5c3 Mon Sep 17 00:00:00 2001 From: sehraf Date: Fri, 26 May 2017 20:29:43 +0200 Subject: [PATCH] minor fix --- retroshare-gui/src/gui/settings/ServerPage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp index 41c612876..5051f62b3 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.cpp +++ b/retroshare-gui/src/gui/settings/ServerPage.cpp @@ -1495,10 +1495,8 @@ void ServerPage::updateStatusBob() QString addr = QString::fromStdString(mBobSettings.addr); if (ui.leBobB32Addr->text() != addr) { ui.leBobB32Addr->setText(addr); - ui.hiddenpage_serviceAddress->setText(addr); - ui.pteBobServerKey->setPlainText(QString::fromStdString(mBobSettings.keys)); - ui.hiddenpage_serviceAddress->setText(addr); + ui.pteBobServerKey->setPlainText(QString::fromStdString(mBobSettings.keys)); if (!mBobSettings.keys.empty()) { // we have an addr -> show fields @@ -1516,6 +1514,8 @@ void ServerPage::updateStatusBob() ui.leBobB32Addr->hide(); ui.pbBobGenAddr->hide(); } + + saveAddresses(); } bobStates bs;