From 4f0ff154d3e14cd967a5841fb5b108a24b5d4a95 Mon Sep 17 00:00:00 2001 From: Camila San Date: Fri, 10 May 2019 16:56:03 +0200 Subject: [PATCH] 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 --- src/gui/shareusergroupwidget.cpp | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.30.2