From 567d35731d8cca0e535f23652b8fbe050a629f91 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 29 Apr 2008 09:10:43 +0000 Subject: * Fixed issue with determining whether chat input is focused (method no longer virtual). * Fixed sometimes rendering with the wrong font. * Fixed warnings about hiding virtual method, Window now always deletes its children (the option not to do so was never used anyway). --- src/gui/itemshortcutcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/itemshortcutcontainer.cpp') diff --git a/src/gui/itemshortcutcontainer.cpp b/src/gui/itemshortcutcontainer.cpp index 4c376718..50f45dee 100644 --- a/src/gui/itemshortcutcontainer.cpp +++ b/src/gui/itemshortcutcontainer.cpp @@ -76,6 +76,8 @@ ItemShortcutContainer::draw(gcn::Graphics *graphics) { Graphics *g = static_cast(graphics); + graphics->setFont(getFont()); + for (int i = 0; i < mMaxItems; i++) { const int itemX = (i % mGridWidth) * mBoxWidth; -- cgit v1.2.3-70-g09d2