diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index 7ed28a364..f8aafc4f2 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -265,9 +265,6 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point ) widgetAction->setDefaultWidget(widget); contextMnu.clear(); - contextMnu.addAction( expandAll); - contextMnu.addAction( collapseAll); - contextMnu.addSeparator(); contextMnu.addAction( widgetAction); contextMnu.addAction( chatAct); contextMnu.addAction( msgAct); @@ -279,6 +276,9 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point ) } contextMnu.addAction( removefriendAct); //contextMnu.addAction( exportfriendAct); + contextMnu.addSeparator(); + contextMnu.addAction( expandAll); + contextMnu.addAction( collapseAll); contextMnu.exec( mevent->globalPos() );