Merge pull request #1595

This commit is contained in:
scrawl 2018-01-09 00:42:27 +00:00
commit 7ef7b1a7b1
No known key found for this signature in database
GPG key ID: 2E6CC3676024C402
2 changed files with 4 additions and 2 deletions

View file

@ -619,6 +619,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:

View file

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