mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Another go at fixing a crash after scraping.
This commit is contained in:
parent
c75ce3c8b0
commit
42c07ee4c5
|
@ -658,7 +658,7 @@ void GuiMetaDataEd::save()
|
|||
if (mScraperParams.game->getType() == FOLDER)
|
||||
mScraperParams.system->sortSystem(false);
|
||||
|
||||
if (mSavedCallback)
|
||||
if (mSavedCallback && !mSavedMediaAndAborted)
|
||||
mSavedCallback();
|
||||
|
||||
if (hideGameWhileHidden) {
|
||||
|
|
|
@ -52,7 +52,9 @@ public:
|
|||
SearchType getSearchType() const { return mSearchType; }
|
||||
bool getSavedNewMedia()
|
||||
{
|
||||
return (mMDResolveHandle ? mMDResolveHandle->getSavedNewMedia() : false);
|
||||
if (mMDResolveHandle != nullptr)
|
||||
return mMDResolveHandle->getSavedNewMedia();
|
||||
return mScrapeResult.savedNewMedia;
|
||||
}
|
||||
static bool saveMetadata(const ScraperSearchResult& result,
|
||||
MetaDataList& metadata,
|
||||
|
|
Loading…
Reference in a new issue