From 83d1c87a45190454a3e99ad2a7323a72dead1ba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Jun 2015 20:34:37 +0300 Subject: Fix tab text color update. --- src/gui/widgets/tabs/tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/tab.cpp') 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) -- cgit v1.2.3-60-g2f50