Sharing: Fix UI glitch when sharing is disabled
authorMarkus Goetz <markus@woboq.com>
Mon, 8 May 2017 18:57:18 +0000 (20:57 +0200)
committerMarkus Goetz <markus@woboq.com>
Wed, 10 May 2017 13:41:58 +0000 (15:41 +0200)
src/gui/sharedialog.cpp

index 5c5e6ff139df30b944e62dfa8ba7b93efe08a991..a2bd34a3743a7b2872ea44013d72cb2e88a7979b 100644 (file)
@@ -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;
     }