all repos — mgba @ a4ceefa3218e7dda4aea2c33f72e257598b7bb4d

mGBA Game Boy Advance Emulator

Qt: Fix exclusive options unchecking
Vicki Pfau vi@endrift.com
Wed, 22 May 2019 11:10:55 -0700
commit

a4ceefa3218e7dda4aea2c33f72e257598b7bb4d

parent

52ac4d6868f4f61bf62f3d279197a83786fb4ff9

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Action.cppsrc/platform/qt/Action.cpp

@@ -67,6 +67,10 @@ if (!m_enabled) {

return; } + if (m_exclusive && !m_booleanFunction) { + active = true; + } + if (m_function && active) { m_function(); }