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
1 changed files with 1 additions and 1 deletions
|
@ -2013,7 +2013,7 @@ void GlobalOptionsDialog::reflowLayout() {
|
||||||
void GlobalOptionsDialog::setupCloudTab() {
|
void GlobalOptionsDialog::setupCloudTab() {
|
||||||
int serverLabelPosition = -1; //no override
|
int serverLabelPosition = -1; //no override
|
||||||
#ifdef USE_LIBCURL
|
#ifdef USE_LIBCURL
|
||||||
_selectedStorageIndex = _storagePopUp->getSelectedTag();
|
_selectedStorageIndex = (_storagePopUp ? _storagePopUp->getSelectedTag() : Cloud::kStorageNoneId);
|
||||||
|
|
||||||
if (_storagePopUpDesc) _storagePopUpDesc->setVisible(true);
|
if (_storagePopUpDesc) _storagePopUpDesc->setVisible(true);
|
||||||
if (_storagePopUp) _storagePopUp->setVisible(true);
|
if (_storagePopUp) _storagePopUp->setVisible(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue