summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.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/tab.cpp
parent8b27b94feb7edb3ff821a7f4cf4bcb97dd9f1082 (diff)
downloadmv-2cdc186cf733795f73c30f9c1d437562d6be6eb8.tar.gz
mv-2cdc186cf733795f73c30f9c1d437562d6be6eb8.tar.bz2
mv-2cdc186cf733795f73c30f9c1d437562d6be6eb8.tar.xz
mv-2cdc186cf733795f73c30f9c1d437562d6be6eb8.zip
Fix previous commits.
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r--src/gui/widgets/tab.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}