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…
Reference in New Issue