InterfacePane: Add BalloonTip to cursor visible radio buttons

This commit is contained in:
Dentomologist
2023-11-13 15:04:12 -08:00
committed by Admiral H. Curtiss
parent a581fa2bfa
commit 33b64d6c91
6 changed files with 49 additions and 55 deletions

View File

@ -27,8 +27,13 @@ ConfigRadioInt::ConfigRadioInt(const QString& label, const Config::Info<int>& se
void ConfigRadioInt::Update()
{
if (!isChecked())
return;
Config::SetBaseOrCurrent(m_setting, m_value);
if (isChecked())
{
Config::SetBaseOrCurrent(m_setting, m_value);
emit OnSelected(m_value);
}
else
{
emit OnDeselected(m_value);
}
}