mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
Fix flickering tooltips in TrackPanel
This commit is contained in:
parent
c72bb76301
commit
14450d6d9f
@ -991,8 +991,11 @@ void TrackPanel::HandleMotion
|
|||||||
/* i18n-hint Esc is a key on the keyboard */
|
/* i18n-hint Esc is a key on the keyboard */
|
||||||
status += wxT(" "), status += _("(Esc to cancel)");
|
status += wxT(" "), status += _("(Esc to cancel)");
|
||||||
mListener->TP_DisplayStatusMessage(status);
|
mListener->TP_DisplayStatusMessage(status);
|
||||||
if (tooltip != GetToolTipText())
|
if (tooltip != GetToolTipText()) {
|
||||||
this->SetToolTip(tooltip);
|
// Unset first, by analogy with AButton
|
||||||
|
UnsetToolTip();
|
||||||
|
SetToolTip(tooltip);
|
||||||
|
}
|
||||||
if (pCursor)
|
if (pCursor)
|
||||||
SetCursor( *pCursor );
|
SetCursor( *pCursor );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user