Skip to content

Commit

Permalink
Sharing: Fix UI glitch when sharing is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
guruz committed May 8, 2017
1 parent 3872e06 commit 0c22e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/sharedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0c22e12

Please sign in to comment.