aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-05 14:12:35 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit211d9ed5f67712f5e0a1b23e7b3fb492b5256f89 (patch)
tree66208581cd56539dcf190cf5ecee0671ee3db3be
parent81c85b6651fcb4ba2f1dc0ba2955e34cb541fc35 (diff)
downloadscummvm-rg350-211d9ed5f67712f5e0a1b23e7b3fb492b5256f89.tar.gz
scummvm-rg350-211d9ed5f67712f5e0a1b23e7b3fb492b5256f89.tar.bz2
scummvm-rg350-211d9ed5f67712f5e0a1b23e7b3fb492b5256f89.zip
GUI: Fix Options' Cloud tab reflowing
-rw-r--r--gui/options.cpp3
1 files changed, 2 insertions, 1 deletions
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