diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-27 18:27:56 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-27 18:27:56 +0000 |
commit | b4c187739022b9c2cec149c00f6291bde982b567 (patch) | |
tree | 655121a52a3534da1c0d4ab8153d3964fa39b71b /src/gui/status.cpp | |
parent | ef571e7244d94237e59fc95317343da95efea6ce (diff) | |
download | mana-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.cpp | 7 |
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") { |