Don't crash, at least
This commit is contained in:
@@ -545,7 +545,7 @@ void LLFloaterMarketplaceListings::updateView()
|
||||
{
|
||||
// Just show the loading indicator in that case and fetch the data (fetch will be skipped if it's already loading)
|
||||
mInventoryInitializationInProgress->setVisible(true);
|
||||
mPanelListings->setVisible(FALSE);
|
||||
if (mPanelListings) mPanelListings->setVisible(FALSE);
|
||||
fetchContents();
|
||||
return;
|
||||
}
|
||||
@@ -562,12 +562,12 @@ void LLFloaterMarketplaceListings::updateView()
|
||||
// We need to rebuild the tabs cleanly the first time we make them visible
|
||||
setPanels();
|
||||
}
|
||||
mPanelListings->setVisible(TRUE);
|
||||
if (mPanelListings) mPanelListings->setVisible(TRUE);
|
||||
mInventoryPlaceholder->setVisible(FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
mPanelListings->setVisible(FALSE);
|
||||
if (mPanelListings) mPanelListings->setVisible(FALSE);
|
||||
mInventoryPlaceholder->setVisible(TRUE);
|
||||
|
||||
std::string text;
|
||||
|
||||
Reference in New Issue
Block a user