Minor cleanup, no functional change.

This commit is contained in:
Rene Gollent
2012-05-28 14:51:58 -04:00
parent 72b7db341b
commit e0a6e07bb3
@@ -1075,10 +1075,9 @@ TeamWindow::_UpdateSourcePathState()
} }
if (!truncatedText.IsEmpty() && truncatedText != sourceText) { if (!truncatedText.IsEmpty() && truncatedText != sourceText) {
fSourcePathView->SetToolTip(sourceText.String()); fSourcePathView->SetToolTip(sourceText);
fSourcePathView->SetText(truncatedText); fSourcePathView->SetText(truncatedText);
} } else
else
fSourcePathView->SetText(sourceText); fSourcePathView->SetText(sourceText);
} }