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 e52718472e..bb8ca25c42 100644 --- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp @@ -1075,10 +1075,9 @@ TeamWindow::_UpdateSourcePathState() } if (!truncatedText.IsEmpty() && truncatedText != sourceText) { - fSourcePathView->SetToolTip(sourceText.String()); + fSourcePathView->SetToolTip(sourceText); fSourcePathView->SetText(truncatedText); - } - else + } else fSourcePathView->SetText(sourceText); }