mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
Qt: Right clicking while binding should not clear input
This commit is contained in:
parent
dec40e234f
commit
7ac7175da5
@ -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…
x
Reference in New Issue
Block a user