DolphinQt: Fix MappingButton not updating text on middle-click clear.

This commit is contained in:
Jordan Woyak 2025-02-24 21:17:41 -06:00
parent 6dd0793f1b
commit 104a25fe0d

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