Merge pull request #13377 from jordan-woyak/middle-clear-fix

DolphinQt: Fix MappingButton not updating text on middle-click clear.
This commit is contained in:
JosJuice 2025-02-25 17:41:47 +01:00 committed by GitHub
commit 4697f0ec2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,9 +149,9 @@ public:
bool UnQueueInputDetection(MappingButton* button) bool UnQueueInputDetection(MappingButton* button)
{ {
button->ConfigChanged();
if (!std::erase(m_clicked_mapping_buttons, button)) if (!std::erase(m_clicked_mapping_buttons, button))
return false; return false;
button->ConfigChanged();
UpdateInputDetectionStartTimer(); UpdateInputDetectionStartTimer();
return true; return true;
} }