From 2cdc186cf733795f73c30f9c1d437562d6be6eb8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Dec 2012 19:20:54 +0300 Subject: Fix previous commits. --- src/gui/widgets/progressbar.cpp | 1 + src/gui/widgets/tab.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/gui/widgets') 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)->calcWindow(mVertexes, 0, 0, getWidth(), getHeight(), rect); } -- cgit v1.2.3-70-g09d2