mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
GUI: Fix CID #1362505
The case probably would never show up, just fixed so it'd disappear from Coverity.
This commit is contained in:
parent
f0e08796b0
commit
92c9f0274f
@ -2013,7 +2013,7 @@ void GlobalOptionsDialog::reflowLayout() {
|
||||
void GlobalOptionsDialog::setupCloudTab() {
|
||||
int serverLabelPosition = -1; //no override
|
||||
#ifdef USE_LIBCURL
|
||||
_selectedStorageIndex = _storagePopUp->getSelectedTag();
|
||||
_selectedStorageIndex = (_storagePopUp ? _storagePopUp->getSelectedTag() : Cloud::kStorageNoneId);
|
||||
|
||||
if (_storagePopUpDesc) _storagePopUpDesc->setVisible(true);
|
||||
if (_storagePopUp) _storagePopUp->setVisible(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user