Fix inventory items unresponsive after tab interaction (#14661)

This was a soft lock until LMB was clicked again.
This commit is contained in:
sfence 2024-07-22 19:14:53 +02:00 committed by GitHub
parent 60f8c02e18
commit 4e1661eded
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4098,6 +4098,8 @@ bool GUIFormSpecMenu::preprocessEvent(const SEvent& event)
skin->setFont(m_font);
bool retval = hovered->OnEvent(event);
skin->setFont(old_font);
// This is expected to be set to BET_OTHER with mouse UP event
m_held_mouse_button = BET_OTHER;
return retval;
}
}