From: Camila San Date: Fri, 10 May 2019 14:56:03 +0000 (+0200) Subject: Display sharees on the first show of the share dialog. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~279^2^2~15^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4f0ff154d3e14cd967a5841fb5b108a24b5d4a95;p=nextcloud-desktop.git Display sharees on the first show of the share dialog. It was displaying them only when the current user would edit the share. Signed-off-by: Camila San --- diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp index 27d80ed78..d576b1edb 100644 --- a/src/gui/shareusergroupwidget.cpp +++ b/src/gui/shareusergroupwidget.cpp @@ -202,6 +202,7 @@ void ShareUserGroupWidget::slotSharesFetched(const QList> connect(s, &ShareUserLine::visualDeletionDone, this, &ShareUserGroupWidget::getShares); s->setBackgroundRole(layout->count() % 2 == 0 ? QPalette::Base : QPalette::AlternateBase); layout->addWidget(s); + s->setVisible(true); x++; if (x <= 3) {