mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-07 16:07:44 +02:00
Bug 1584 - Pinned / Unpinned tool tip inconsistency
This commit is contained in:
parent
a0ea5d64db
commit
349b66bbdd
@ -2853,11 +2853,10 @@ void AdornedRulerPanel::UpdateButtonStates()
|
|||||||
else
|
else
|
||||||
pinButton->PushDown();
|
pinButton->PushDown();
|
||||||
pinButton->SetAlternateIdx(state ? 0 : 1);
|
pinButton->SetAlternateIdx(state ? 0 : 1);
|
||||||
|
// Bug 1584: Toltip now shows what clicking will do.
|
||||||
const auto label = state
|
const auto label = state
|
||||||
// Label descibes the present state, not what the click does
|
? _("Click to unpin")
|
||||||
// (which is, to toggle the state)
|
: _("Click to pin");
|
||||||
? _("Pinned Record/Play head")
|
|
||||||
: _("Unpinned Record/Play head");
|
|
||||||
common(*pinButton, wxT("PinnedHead"), label);
|
common(*pinButton, wxT("PinnedHead"), label);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user