summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index 6ed09669a..e7e74fdbb 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -27,8 +27,10 @@
#include "item.h"
#include "localplayer.h"
#include "playerinfo.h"
+#include "playerrelations.h"
#include "units.h"
+#include "gui/gui.h"
#include "gui/inventorywindow.h"
#include "gui/itemamountwindow.h"
#include "gui/setup.h"
@@ -440,4 +442,6 @@ void TradeWindow::initTrade(std::string nick)
}
}
clear();
+ if (!player_relations.isGoodName(nick))
+ setCaptionFont(gui->getSecureFont());
}