mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Display error when current user is not allowed to reshare file/folder.
Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
parent
4f0ff154d3
commit
9ff1a30dc4
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@ void ShareDialog::showSharingUi()
|
|||
auto label = new QLabel(this);
|
||||
label->setText(tr("The file can not be shared because it was shared without sharing permission."));
|
||||
label->setWordWrap(true);
|
||||
_ui->verticalLayout->insertWidget(1, label);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue