summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-01 19:20:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-01 22:58:18 +0300
commit2cdc186cf733795f73c30f9c1d437562d6be6eb8 (patch)
tree3cb11ef98a9e56444fa96fee142876c6a58836bb /src/gui/widgets/progressbar.cpp
parent8b27b94feb7edb3ff821a7f4cf4bcb97dd9f1082 (diff)
downloadplus-2cdc186cf733795f73c30f9c1d437562d6be6eb8.tar.gz
plus-2cdc186cf733795f73c30f9c1d437562d6be6eb8.tar.bz2
plus-2cdc186cf733795f73c30f9c1d437562d6be6eb8.tar.xz
plus-2cdc186cf733795f73c30f9c1d437562d6be6eb8.zip
Fix previous commits.
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r--src/gui/widgets/progressbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp
index babf3f0e2..f97572904 100644
--- a/src/gui/widgets/progressbar.cpp
+++ b/src/gui/widgets/progressbar.cpp
@@ -190,6 +190,7 @@ void ProgressBar::render(Graphics *graphics)
if (mRedraw || graphics->getRedraw())
{
mRedraw = false;
+ mVertexes->clear();
graphics->calcWindow(mVertexes, 0, 0,
mDimension.width, mDimension.height, mSkin->getBorder());
}