mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02: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