mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-04-13 04:15:43 +02:00
Fix display of deleted note.
Even after removing note from share link, the previous text was being displayed. Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
parent
72c91362f2
commit
ab524d2392
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user