From 0c22e12cd9a0fd9186f1598ca8224a103fd48b1b Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Mon, 8 May 2017 20:57:18 +0200 Subject: [PATCH] Sharing: Fix UI glitch when sharing is disabled --- src/gui/sharedialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index 5c5e6ff139d..a2bd34a3743 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -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; }