diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/progressbar.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/tab.cpp | 1 |
2 files changed, 2 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()); } diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index fdcace308..a0ebc7732 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -201,6 +201,7 @@ void Tab::draw(gcn::Graphics *graphics) { mMode = mode; mRedraw = false; + mVertexes->clear(); static_cast<Graphics*>(graphics)->calcWindow(mVertexes, 0, 0, getWidth(), getHeight(), rect); } |