summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-11 18:58:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-11 19:11:45 +0300
commit85576f6d4fa83a0151ea08e2684f7babdfcfc707 (patch)
treea152a34c6bef6734ac63d251bc638004f11565a7 /src/gui
parent37eac088655e2d4f5cd9e511058eead078bbf497 (diff)
downloadManaVerse-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.gz
ManaVerse-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.bz2
ManaVerse-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.xz
ManaVerse-85576f6d4fa83a0151ea08e2684f7babdfcfc707.zip
Allow set image name prefix in chat command /screenshot.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/tradewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 982f2dafd..de89eeca3 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -308,7 +308,7 @@ void TradeWindow::receivedOk(const bool own)
void TradeWindow::completeTrade()
{
if (config.getBoolValue("tradescreenshot"))
- Game::createScreenshot();
+ Game::createScreenshot(std::string());
setVisible(Visible_false);
reset();
}