mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix exclusive options unchecking
This commit is contained in:
parent
52ac4d6868
commit
a4ceefa321
|
@ -67,6 +67,10 @@ void Action::trigger(bool active) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_exclusive && !m_booleanFunction) {
|
||||||
|
active = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (m_function && active) {
|
if (m_function && active) {
|
||||||
m_function();
|
m_function();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue