diff --git a/es-app/src/guis/GuiMetaDataEd.cpp b/es-app/src/guis/GuiMetaDataEd.cpp index 4e4993c18..c6493a21a 100644 --- a/es-app/src/guis/GuiMetaDataEd.cpp +++ b/es-app/src/guis/GuiMetaDataEd.cpp @@ -453,14 +453,19 @@ void GuiMetaDataEd::close() // } std::function closeFunc; - closeFunc = [this] { delete this; }; + closeFunc = [this] { + ViewController::get()->onPauseVideo(); + delete this; + }; std::function closeFuncReload; closeFuncReload = [this] { // Always reload the gamelist if media files were updated, even if the user // selected to not save any metadata changes. - if (mMediaFilesUpdated) + if (mMediaFilesUpdated) { ViewController::get()->reloadGameListView(mScraperParams.system); + ViewController::get()->onPauseVideo(); + } delete this; }; diff --git a/es-app/src/guis/GuiScraperMulti.cpp b/es-app/src/guis/GuiScraperMulti.cpp index 0254791e7..83d266e39 100644 --- a/es-app/src/guis/GuiScraperMulti.cpp +++ b/es-app/src/guis/GuiScraperMulti.cpp @@ -107,6 +107,7 @@ GuiScraperMulti::~GuiScraperMulti() for (auto it = SystemData::sSystemVector.cbegin(); it !=SystemData::sSystemVector.cend(); it++) (*it)->sortSystem(); + ViewController::get()->onPauseVideo(); } void GuiScraperMulti::onSizeChanged()