]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Fix display of deleted note.
authorCamila <hello@camila.codes>
Thu, 30 Sep 2021 18:50:31 +0000 (20:50 +0200)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Thu, 28 Oct 2021 12:59:28 +0000 (12:59 +0000)
Even after removing note from share link,
the previous text was being displayed.

Signed-off-by: Camila <hello@camila.codes>
src/gui/sharelinkwidget.cpp

index fcb8668c5439520927b013f89d8b9f0b56788949..a38760c6baf5978e3fbdaf28ef8905aaee3e7db0 100644 (file)
@@ -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()) {