[TD]fix #4234 initial display of section label
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user