Merge pull request #7266 from spycrab/qt_discord_fix
Qt/GeneralPane: Disable Rich Presence checkbox while emulation is run…
This commit is contained in:
commit
98c7b232c4
|
@ -83,6 +83,8 @@ void GeneralPane::OnEmulationStateChanged(Core::State state)
|
||||||
|
|
||||||
m_checkbox_dualcore->setEnabled(!running);
|
m_checkbox_dualcore->setEnabled(!running);
|
||||||
m_checkbox_cheats->setEnabled(!running);
|
m_checkbox_cheats->setEnabled(!running);
|
||||||
|
m_checkbox_discord_presence->setEnabled(!running);
|
||||||
|
|
||||||
for (QRadioButton* radio_button : m_cpu_cores)
|
for (QRadioButton* radio_button : m_cpu_cores)
|
||||||
radio_button->setEnabled(!running);
|
radio_button->setEnabled(!running);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue