mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Qt: Use click event rather than pressed to rebind
This commit is contained in:
parent
fce35d6dbe
commit
ce46475e41
|
@ -16,7 +16,7 @@ InputBindingWidget::InputBindingWidget(QtHostInterface* host_interface, QString
|
|||
setMinimumWidth(150);
|
||||
setMaximumWidth(150);
|
||||
|
||||
connect(this, &QPushButton::pressed, this, &InputBindingWidget::onPressed);
|
||||
connect(this, &QPushButton::clicked, this, &InputBindingWidget::onClicked);
|
||||
}
|
||||
|
||||
InputBindingWidget::~InputBindingWidget()
|
||||
|
@ -83,7 +83,7 @@ void InputBindingWidget::reloadBinding()
|
|||
setText(m_current_binding_value);
|
||||
}
|
||||
|
||||
void InputBindingWidget::onPressed()
|
||||
void InputBindingWidget::onClicked()
|
||||
{
|
||||
if (isListeningForInput())
|
||||
stopListeningForInput();
|
||||
|
|
Loading…
Reference in a new issue