From 211d9ed5f67712f5e0a1b23e7b3fb492b5256f89 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Tue, 5 Jul 2016 14:12:35 +0600 Subject: GUI: Fix Options' Cloud tab reflowing --- gui/options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/options.cpp b/gui/options.cpp index 433278460c..bf692f8fad 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1694,6 +1694,7 @@ void GlobalOptionsDialog::reflowLayout() { _tabWidget->setActiveTab(activeTab); OptionsDialog::reflowLayout(); + setupCloudTab(); } #if defined USE_CLOUD || defined USE_SDL_NET @@ -1746,7 +1747,7 @@ void GlobalOptionsDialog::setupCloudTab() { if (_storageRefreshButton) _storageRefreshButton->setVisible(false); if (_storageDownloadButton) _storageDownloadButton->setVisible(false); - serverButtonPosition = (_storagePopUpDesc ? _storagePopUpDesc->getRelY() : 0); + serverLabelPosition = (_storagePopUpDesc ? _storagePopUpDesc->getRelY() : 0); #endif #ifdef USE_SDL_NET //determine original widget's positions -- cgit v1.2.3