mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 08:30:06 +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 */
|
||||
status += wxT(" "), status += _("(Esc to cancel)");
|
||||
mListener->TP_DisplayStatusMessage(status);
|
||||
if (tooltip != GetToolTipText())
|
||||
this->SetToolTip(tooltip);
|
||||
if (tooltip != GetToolTipText()) {
|
||||
// Unset first, by analogy with AButton
|
||||
UnsetToolTip();
|
||||
SetToolTip(tooltip);
|
||||
}
|
||||
if (pCursor)
|
||||
SetCursor( *pCursor );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user