Skip to content

Commit

Permalink
add separators before/after share menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
lins05 committed Dec 19, 2015
1 parent 1f7498c commit c63beff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/repo-tree-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ QMenu* RepoTreeView::prepareContextMenu(const RepoItem *item)

const Account& account = seafApplet->accountManager()->currentAccount();
if (account.isPro() && account.username == item->repo().owner) {
menu->addSeparator();
menu->addAction(share_repo_to_user_action_);
menu->addAction(share_repo_to_group_action_);
menu->addSeparator();
}

if (item->localRepo().isValid()) {
Expand Down

0 comments on commit c63beff

Please sign in to comment.