diff options
author | Camila San <hello@camila.codes> | 2019-05-10 17:58:54 +0300 |
---|---|---|
committer | Camila San <hello@camila.codes> | 2019-05-27 20:46:38 +0300 |
commit | 9ff1a30dc4fc8e0155cd5bf5e69118d0fca70bfe (patch) | |
tree | 61aaf3b99274ef9c532d0cb76455a735541ba5d9 /src/gui/sharedialog.cpp | |
parent | 4f0ff154d3e14cd967a5841fb5b108a24b5d4a95 (diff) |
Display error when current user is not allowed to reshare file/folder.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r-- | src/gui/sharedialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index 4a62f5885..57126988b 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -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; } |