Display the 'Screenshot saved' message after the screenshot saving (bug #4191)

pull/1596/head
Andrei Kortunov 7 years ago
parent b86118f76f
commit b277b83810

@ -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:

@ -1021,8 +1021,6 @@ namespace MWInput
{
mScreenCaptureHandler->setFramesToCapture(1);
mScreenCaptureHandler->captureNextFrame(*mViewer);
MWBase::Environment::get().getWindowManager()->messageBox ("Screenshot saved");
}
void InputManager::toggleInventory()

Loading…
Cancel
Save