From f6ca7295a62210816fe6f170af513de358211ea7 Mon Sep 17 00:00:00 2001 From: scrawl <720642+scrawl@users.noreply.github.com> Date: Tue, 9 Jan 2018 13:47:57 +0000 Subject: [PATCH] Revert "Merge pull request #1595" This reverts commit 7ef7b1a7b1f5fcb4c99a990cb3626c8375f39ddb, reversing changes made to 9e7e4de0ab71ac0d02c1a2baeb36a68921811985. --- apps/openmw/engine.cpp | 4 ---- apps/openmw/mwinput/inputmanagerimp.cpp | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) 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()