mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 04:25:37 +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)
|
void InputBindingWidget::mouseReleaseEvent(QMouseEvent* e)
|
||||||
{
|
{
|
||||||
if (e->button() == Qt::RightButton)
|
if (!isListeningForInput() && e->button() == Qt::RightButton)
|
||||||
{
|
{
|
||||||
clearBinding();
|
clearBinding();
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user