mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Add 'comment' to terminal strip
This commit is contained in:
@@ -79,9 +79,13 @@ TerminalStrip *TerminalStripCreatorDialog::generatedTerminalStrip() const
|
||||
if (name_.isEmpty()) {
|
||||
name_ = QStringLiteral("X"); }
|
||||
|
||||
return m_project->newTerminalStrip(installation_,
|
||||
location_,
|
||||
name_);
|
||||
auto strip = m_project->newTerminalStrip(installation_,
|
||||
location_,
|
||||
name_);
|
||||
strip->setComment(ui->m_comment_le->text());
|
||||
strip->setDescription(ui->m_description_te->toPlainText());
|
||||
|
||||
return strip;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user