mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Sharing: Fix UI glitch when sharing is disabled
This commit is contained in:
parent
f52d66a954
commit
8da7919a43
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ void ShareDialog::showSharingUi()
|
|||
if (!canReshare) {
|
||||
auto label = new QLabel(this);
|
||||
label->setText(tr("The file can not be shared because it was shared without sharing permission."));
|
||||
label->setWordWrap(true);
|
||||
layout()->replaceWidget(_ui->shareWidgets, label);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue