Skip to content
Permalink
Browse files

DolphinQt: Fix tooltip of output mapping buttons.

  • Loading branch information...
jordan-woyak committed Nov 4, 2019
1 parent 1bdf43d commit 32cf4b76be6202407b98b047d5dc09ffd6774ce1
Showing with 9 additions and 2 deletions.
  1. +9 −2 Source/Core/DolphinQt/Config/Mapping/MappingButton.cpp
@@ -53,8 +53,15 @@ MappingButton::MappingButton(MappingWidget* parent, ControlReference* ref, bool

setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);

setToolTip(
tr("Left-click to detect input.\nMiddle-click to clear.\nRight-click for more options."));
if (IsInput())
{
setToolTip(
tr("Left-click to detect input.\nMiddle-click to clear.\nRight-click for more options."));
}
else
{
setToolTip(tr("Left/Right-click to configure output.\nMiddle-click to clear."));
}

connect(this, &MappingButton::clicked, this, &MappingButton::Clicked);

0 comments on commit 32cf4b7

Please sign in to comment.
You can’t perform that action at this time.