Display error when current user is not allowed to reshare file/folder.
authorCamila San <hello@camila.codes>
Fri, 10 May 2019 14:58:54 +0000 (16:58 +0200)
committerCamila San <hello@camila.codes>
Mon, 27 May 2019 17:46:38 +0000 (19:46 +0200)
Signed-off-by: Camila San <hello@camila.codes>
src/gui/sharedialog.cpp

index 4a62f5885cfc0629444903fc0459c247c3e6aee5..57126988bfca3a0a8290b7bf2aaf226f0850c8e4 100644 (file)
@@ -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;
     }