From ab524d23920a6fd7541031906bac878578dc8589 Mon Sep 17 00:00:00 2001 From: Camila Date: Thu, 30 Sep 2021 20:50:31 +0200 Subject: [PATCH] Fix display of deleted note. Even after removing note from share link, the previous text was being displayed. Signed-off-by: Camila --- src/gui/sharelinkwidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp index fcb8668c54395..a38760c6baf59 100644 --- a/src/gui/sharelinkwidget.cpp +++ b/src/gui/sharelinkwidget.cpp @@ -441,7 +441,6 @@ void ShareLinkWidget::toggleNoteOptions(const bool enable) _ui->noteLabel->setVisible(enable); _ui->textEdit_note->setVisible(enable); _ui->confirmNote->setVisible(enable); - _ui->textEdit_note->setText(enable && _linkShare ? _linkShare->getNote() : QString()); if (!enable && _linkShare && !_linkShare->getNote().isEmpty()) {