|
|
@ -431,11 +431,11 @@ void CGroupCompas::draw()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CCtrlBase *toolTip = getCtrl("tt");
|
|
|
|
CCtrlBase *toolTip = getCtrl("open_menu");
|
|
|
|
if (toolTip)
|
|
|
|
if (toolTip)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (displayedTarget.getType() != CCompassTarget::North)
|
|
|
|
if (displayedTarget.getType() != CCompassTarget::North)
|
|
|
|
toolTip->setDefaultContextHelp(CI18N::get("uittCompassDistance"));
|
|
|
|
toolTip->setDefaultContextHelp(displayedTarget.Name);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
toolTip->setDefaultContextHelp(std::string());
|
|
|
|
toolTip->setDefaultContextHelp(std::string());
|
|
|
|
}
|
|
|
|
}
|
|
|
|