Merge pull request #7266 from spycrab/qt_discord_fix

Qt/GeneralPane: Disable Rich Presence checkbox while emulation is run…
This commit is contained in:
Anthony 2018-07-16 22:10:32 -07:00 committed by GitHub
commit 98c7b232c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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);
} }