hrev47485 adds 1 changeset to branch 'master' old head: 2f1684345e18c232cf915272bf567b9cc31c5f9d new head: e4adab2698a68cf8d86b79788e8e392ca6b35442 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=e4adab2+%5E2f16843 ---------------------------------------------------------------------------- e4adab2: Debugger: Fix minor issue noted in #11003. - Reset tooltip when it's no longer needed (i.e. if the file path changes). Otherwise, we'd erroneously show the old tooltip if the new path was short enough to no longer be truncated, as would often happen after locating a missing source file. [ Rene Gollent <rene@xxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47485 Commit: e4adab2698a68cf8d86b79788e8e392ca6b35442 URL: http://cgit.haiku-os.org/haiku/commit/?id=e4adab2 Author: Rene Gollent <rene@xxxxxxxxxxx> Date: Sat Jul 12 00:04:33 2014 UTC Ticket: https://dev.haiku-os.org/ticket/11003 ---------------------------------------------------------------------------- 1 file changed, 3 insertions(+), 1 deletion(-) src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp | 4 +++- ---------------------------------------------------------------------------- diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp index a32a69b..67a5978 100644 --- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp @@ -1356,8 +1356,10 @@ TeamWindow::_UpdateSourcePathState() if (!truncatedText.IsEmpty() && truncatedText != sourceText) { fSourcePathView->SetToolTip(sourceText); fSourcePathView->SetText(truncatedText); - } else + } else { fSourcePathView->SetText(sourceText); + fSourcePathView->SetToolTip(NULL); + } }