Insert old comment text in change comment dialog.

This commit is contained in:
2021-08-13 12:17:35 +02:00
parent d0b4e9890c
commit ccab0b3cfb

View File

@@ -64,7 +64,7 @@ CommentTreeWidget::CommentTreeWidget(QWidget *parent) : QTreeWidget(parent),
bool ok;
QString newText = QInputDialog::getText(this, QString("Change comment text"),
QString("Change comment text"), QLineEdit::Normal,
QString(), &ok);
commentItem->Text(), &ok);
if (ok)
{