Skip to content

Commit

Permalink
Add spinner to show we are creating the share
Browse files Browse the repository at this point in the history
Fixes #3737
  • Loading branch information
rullzer committed Mar 8, 2016
1 parent 5461245 commit 41d38b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/gui/shareusergroupwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,15 @@ void ShareUserGroupWidget::slotCompleterActivated(const QModelIndex & index)
return;
}

/*
* Add spinner to the bottom of the widget list
*/
auto viewPort = _ui->scrollArea->widget();
auto layout = viewPort->layout();
auto indicator = new QProgressIndicator(viewPort);
indicator->startAnimation();
layout->addWidget(indicator);

/*
* Don't send the reshare permissions for federataed shares
* https://github.com/owncloud/core/issues/22122#issuecomment-185637344
Expand Down

0 comments on commit 41d38b3

Please sign in to comment.