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()) switch(node.GetPassmarkLineType())
{ {
case PassmarkLineType::OneLine: case PassmarkLineType::OneLine:
name += QLatin1String("^"); name += QLatin1Char('|');
break; break;
case PassmarkLineType::TwoLines: case PassmarkLineType::TwoLines:
name += QLatin1String("^^"); name += QLatin1Literal("||");
break; break;
case PassmarkLineType::ThreeLines: case PassmarkLineType::ThreeLines:
name += QLatin1String("^^^"); name += QLatin1Literal("|||");
break;
case PassmarkLineType::TMark:
name += QString("");
break;
case PassmarkLineType::VMark:
name += QLatin1Char('^');
break; break;
default: default:
break; break;