From 9ff1a30dc4fc8e0155cd5bf5e69118d0fca70bfe Mon Sep 17 00:00:00 2001 From: Camila San Date: Fri, 10 May 2019 16:58:54 +0200 Subject: [PATCH] Display error when current user is not allowed to reshare file/folder. Signed-off-by: Camila San --- src/gui/sharedialog.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2