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

This commit is contained in:
Jordan Woyak committed 2019-04-28 08:34:47 -05:00
1 parent d2d8d7ce90
commit 4e39d833ae
4 files changed
+17 -14

No files matched your search

@@ -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);