diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index e2b63232d..21dfc26fb 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -607,6 +607,10 @@ public: { std::cerr << "Error: Can't write screenshot: " << result.message() << " code " << result.status() << std::endl; } + else + { + MWBase::Environment::get().getWindowManager()->messageBox ("Screenshot saved"); + } } private: diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index eba0d8191..3e96f6da9 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -1021,8 +1021,6 @@ namespace MWInput { mScreenCaptureHandler->setFramesToCapture(1); mScreenCaptureHandler->captureNextFrame(*mViewer); - - MWBase::Environment::get().getWindowManager()->messageBox ("Screenshot saved"); } void InputManager::toggleInventory()