[TechDraw] Minor improvement of TaskLineDecor.cpp

This commit is contained in:
xtemp09
2023-03-12 21:32:11 +07:00
committed by WandererFan
parent 492c941395
commit 37d7f7d570

View File

@@ -82,7 +82,7 @@ void TaskLineDecor::initUi()
}
std::string temp = ss.str();
if (!temp.empty()) {
temp.pop_back();
temp.resize(temp.length() - 2);
}
ui->le_Lines->setText(Base::Tools::fromStdString(temp));