Add 'comment' to terminal strip

This commit is contained in:
joshua
2021-04-04 19:39:21 +02:00
parent 91db58bb64
commit a3f776b7db
5 changed files with 25 additions and 3 deletions

View File

@@ -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;
}
/**