[TD]fix #4234 initial display of section label

This commit is contained in:
wandererfan
2019-12-27 23:47:42 -05:00
committed by WandererFan
parent eb4e2d2c56
commit 4cca918a76
2 changed files with 10 additions and 2 deletions

View File

@@ -392,6 +392,13 @@ void TaskSectionView::updateSectionView(void)
Command::doCommand(Command::Doc,"App.activeDocument().%s.SectionSymbol = '%s'",
sectionName.c_str(),
temp.c_str());
std::string lblText = "Section " +
temp +
" - " +
temp;
Command::doCommand(Command::Doc,"App.activeDocument().%s.Label = '%s'",
sectionName.c_str(),
lblText.c_str());
Command::doCommand(Command::Doc,"App.activeDocument().%s.Scale = %0.6f",
sectionName.c_str(),
ui->sbScale->value());