Qt: Right clicking while binding should not clear input

This commit is contained in:
Stenzek 2024-11-08 20:38:37 +10:00
parent dec40e234f
commit 7ac7175da5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ bool InputBindingWidget::event(QEvent* event)
void InputBindingWidget::mouseReleaseEvent(QMouseEvent* e)
{
if (e->button() == Qt::RightButton)
if (!isListeningForInput() && e->button() == Qt::RightButton)
{
clearBinding();
return;