diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-08 20:34:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-08 20:34:37 +0300 |
commit | 83d1c87a45190454a3e99ad2a7323a72dead1ba5 (patch) | |
tree | 05658ace02ce2313ed4f87980731b3d640890f58 /src/gui/widgets/tabs/tab.cpp | |
parent | bc25e36e89779538adfd395c8d937c1677c20900 (diff) | |
download | plus-83d1c87a45190454a3e99ad2a7323a72dead1ba5.tar.gz plus-83d1c87a45190454a3e99ad2a7323a72dead1ba5.tar.bz2 plus-83d1c87a45190454a3e99ad2a7323a72dead1ba5.tar.xz plus-83d1c87a45190454a3e99ad2a7323a72dead1ba5.zip |
Fix tab text color update.
Diffstat (limited to 'src/gui/widgets/tabs/tab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index 26f58e83b..c69f48c03 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -236,7 +236,7 @@ void Tab::draw(Graphics *graphics) // mRedraw need here because no other way to say label to change color // +++ text from label must be moved to tab itself - if (labelMode != mLabelMode && mRedraw) + if (labelMode != mLabelMode || mRedraw) { mLabelMode = labelMode; switch (labelMode) |