summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 18:27:56 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 18:27:56 +0000
commitb4c187739022b9c2cec149c00f6291bde982b567 (patch)
tree655121a52a3534da1c0d4ab8153d3964fa39b71b /src/gui/status.cpp
parentef571e7244d94237e59fc95317343da95efea6ce (diff)
downloadmana-b4c187739022b9c2cec149c00f6291bde982b567.tar.gz
mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.bz2
mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.xz
mana-b4c187739022b9c2cec149c00f6291bde982b567.zip
Update stats and status window contents at a single location.
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index c903261c..7ba14fc7 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -206,6 +206,13 @@ void StatusWindow::update()
delete[] tempstr;
}
+void StatusWindow::draw(gcn::Graphics *graphics)
+{
+ update();
+
+ Window::draw(graphics);
+}
+
void StatusWindow::action(const std::string& eventId)
{
if (eventId == "Stats") {