Merge branch '30-changes-for-silan-refactoring' into main/yubo-dev

main/yubo-dev
Nuno 3 years ago
commit fd04303cf2

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

Loading…
Cancel
Save