From 85576f6d4fa83a0151ea08e2684f7babdfcfc707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 May 2017 18:58:18 +0300 Subject: Allow set image name prefix in chat command /screenshot. --- src/gui/windows/tradewindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/tradewindow.cpp') 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(); } -- cgit v1.2.3-70-g09d2