mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-12 12:22:27 -05: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