mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
GUI: Fix Options' Cloud tab scrollbar issue
Calling reflowLayout() not only updates the layout (as setupCloudTab() was already doing), but also recalculates scrollbar. The issue was that old layout didn't need a scrollbar, but updated layout did. But, ScrollContainer was not notified, and thus scrollbar didn't appear (until user tried to reselect the Storage via popup).
This commit is contained in:
parent
1c0b697a59
commit
2c31e6cbe5
@ -2439,8 +2439,7 @@ void GlobalOptionsDialog::handleTickle() {
|
||||
#ifdef USE_CLOUD
|
||||
#ifdef USE_LIBCURL
|
||||
if (_redrawCloudTab) {
|
||||
setupCloudTab();
|
||||
g_gui.scheduleTopDialogRedraw();
|
||||
reflowLayout(); // recalculates scrollbar as well
|
||||
_redrawCloudTab = false;
|
||||
}
|
||||
#endif // USE_LIBCURL
|
||||
|
Loading…
Reference in New Issue
Block a user