summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
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/windows/tradewindow.cpp
parent37eac088655e2d4f5cd9e511058eead078bbf497 (diff)
downloadplus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.gz
plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.bz2
plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.xz
plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.zip
Allow set image name prefix in chat command /screenshot.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-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();
}