diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.h | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h index 1bc225ee1..69cb7cf95 100644 --- a/src/gui/widgets/tabs/tab.h +++ b/src/gui/widgets/tabs/tab.h @@ -172,7 +172,7 @@ class Tab notfinal : public BasicContainer, * Set tab flashing state */ void setFlash(const int flash) - { mFlash = flash; } + { mFlash = flash; mRedraw = true; } int getFlash() const A_WARN_UNUSED { return mFlash; } |