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:
Camila San 2019-05-10 16:58:54 +02:00
parent 4f0ff154d3
commit 9ff1a30dc4
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -271,6 +271,7 @@ void ShareDialog::showSharingUi()
auto label = new QLabel(this); auto label = new QLabel(this);
label->setText(tr("The file can not be shared because it was shared without sharing permission.")); label->setText(tr("The file can not be shared because it was shared without sharing permission."));
label->setWordWrap(true); label->setWordWrap(true);
_ui->verticalLayout->insertWidget(1, label);
return; return;
} }