From c72bb763017f309f1a2b70babe5c7c3a7777944e Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 17 Jul 2017 11:12:20 -0400 Subject: [PATCH] Fix flickering TrackPanel tooltip --- src/TrackPanel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 5ecb3b705..b59be77ab 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -991,7 +991,8 @@ void TrackPanel::HandleMotion /* i18n-hint Esc is a key on the keyboard */ status += wxT(" "), status += _("(Esc to cancel)"); mListener->TP_DisplayStatusMessage(status); - this->SetToolTip(tooltip); + if (tooltip != GetToolTipText()) + this->SetToolTip(tooltip); if (pCursor) SetCursor( *pCursor );