mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Qt: Fix default device handling
This commit is contained in:
@ -54,7 +54,7 @@ GetExpressionForControl(const QString& control_name,
|
||||
|
||||
void MappingButton::OnButtonPressed()
|
||||
{
|
||||
if (m_block)
|
||||
if (m_block || m_parent->GetDevice() == nullptr)
|
||||
return;
|
||||
|
||||
// Make sure that we don't block event handling
|
||||
|
Reference in New Issue
Block a user