diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index a83dc201c..78e368cfc 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -619,10 +619,6 @@ 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 3e96f6da9..eba0d8191 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -1021,6 +1021,8 @@ namespace MWInput { mScreenCaptureHandler->setFramesToCapture(1); mScreenCaptureHandler->captureNextFrame(*mViewer); + + MWBase::Environment::get().getWindowManager()->messageBox ("Screenshot saved"); } void InputManager::toggleInventory()