summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-28 02:27:32 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-28 02:27:32 +0300
commit39c0baaad44c49c41ac9311bcf39c2844a49e921 (patch)
tree566c20d62610e6ecf5df42264f8e0278bd0e35d3 /src/gui
parentcbbea0950f07c61c4649308f40333a89da21a521 (diff)
downloadplus-39c0baaad44c49c41ac9311bcf39c2844a49e921.tar.gz
plus-39c0baaad44c49c41ac9311bcf39c2844a49e921.tar.bz2
plus-39c0baaad44c49c41ac9311bcf39c2844a49e921.tar.xz
plus-39c0baaad44c49c41ac9311bcf39c2844a49e921.zip
Show current experience after 99 level.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/statuswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 203338708..170fd6ab4 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -502,7 +502,8 @@ void StatusWindow::updateProgressBar(ProgressBar *bar, int value, int max,
if (max == 0)
{
bar->setText(_("Max"));
- bar->setProgress(1.0);
+ bar->setProgress(1);
+ bar->setText(toString(value));
}
else
{