* Enabled Sort by State Menu Action

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-11-21 12:10:26 +00:00
parent 4cdd83cc89
commit b3a33206b1

View File

@ -1967,9 +1967,9 @@ void FriendList::createDisplayMenu()
menu->addAction(ui->actionShowLastContactColumn);
menu->addAction(ui->actionShowIPColumn);
menu->addAction(ui->actionShowStatusColumn);
// menu = displayMenu->addMenu(tr("Sort by"));
menu = displayMenu->addMenu(tr("Sort by"));
// menu->addAction(ui->actionSortByName);
// menu->addAction(ui->actionSortByState);
menu->addAction(ui->actionSortByState);
// menu->addAction(ui->actionSortByLastContact);
// menu->addAction(ui->actionSortByIP);
displayMenu->addAction(ui->actionHideOfflineFriends);
@ -1977,9 +1977,9 @@ void FriendList::createDisplayMenu()
// displayMenu->addAction(ui->actionRootIsDecorated);
displayMenu->addAction(ui->actionShowGroups);
// QActionGroup *group = new QActionGroup(this);
QActionGroup *group = new QActionGroup(this);
// group->addAction(ui->actionSortByName);
// group->addAction(ui->actionSortByState);
group->addAction(ui->actionSortByState);
// group->addAction(ui->actionSortByLastContact);
// group->addAction(ui->actionSortByIP);