Qt: Right clicking while binding should not clear input

pull/3327/head
Stenzek 1 year ago
parent dec40e234f
commit 7ac7175da5
No known key found for this signature in database

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

Loading…
Cancel
Save