DolphinQt: Fix mapping of space, return, and mouse-clicks from immediately re-activating detection.

This commit is contained in:
Jordan Woyak
2019-04-27 12:35:26 -05:00
parent d2d8d7ce90
commit 4e39d833ae
4 changed files with 17 additions and 14 deletions

View File

@ -56,7 +56,7 @@ MappingButton::MappingButton(MappingWidget* parent, ControlReference* ref, bool
setToolTip(
tr("Left-click to detect input.\nMiddle-click to clear.\nRight-click for more options."));
connect(this, &MappingButton::pressed, this, &MappingButton::Detect);
connect(this, &MappingButton::clicked, this, &MappingButton::Detect);
if (indicator)
connect(parent, &MappingWidget::Update, this, &MappingButton::UpdateIndicator);