Show in the main path marks for T and V passmarks.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-04-05 13:42:59 +03:00
parent c0f36dffbe
commit 321b22faba

View File

@ -586,13 +586,19 @@ QString DialogTool::GetNodeName(const VPieceNode &node, bool showPassmark) const
switch(node.GetPassmarkLineType())
{
case PassmarkLineType::OneLine:
name += QLatin1String("^");
name += QLatin1Char('|');
break;
case PassmarkLineType::TwoLines:
name += QLatin1String("^^");
name += QLatin1Literal("||");
break;
case PassmarkLineType::ThreeLines:
name += QLatin1String("^^^");
name += QLatin1Literal("|||");
break;
case PassmarkLineType::TMark:
name += QString("");
break;
case PassmarkLineType::VMark:
name += QLatin1Char('^');
break;
default:
break;