Fix:bug#88982 WiFi icon tri-state display error, does not show blue http://172.17.66.192/biz/bug-view-88982.html

This commit is contained in:
zhouxiali 2021-11-05 10:07:26 +08:00
parent 3350c2b715
commit 38da7da176
1 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,10 @@ void RadioItemButton::onPaletteChanged()
m_backgroundColor = FOREGROUND_COLOR_NORMAL_INACTIVE_DARK;
m_iconLabel->setPixmap(loadSvg(m_pixmap, PixmapColor::WHITE));
}
if (m_isActivated) {
m_backgroundColor = FOREGROUND_COLOR_NORMAL_ACTIVE;
m_iconLabel->setPixmap(loadSvg(m_pixmap, PixmapColor::WHITE));
}
}
void RadioItemButton::onAnimationValueChanged(const QVariant& value)