2022-03-02 Fred Gleason <fredg@paravelsystems.com>

* Implemented sorting of the group list in the 'Rivendell Group
	List' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-03-02 15:08:44 -05:00
parent bd2fee5e7b
commit bcb22cc706
4 changed files with 37 additions and 3 deletions

View File

@@ -96,6 +96,8 @@ ListGroups::ListGroups(QWidget *parent)
// Group List
//
list_groups_view=new RDTableView(this);
list_groups_view->setSortingEnabled(true);
list_groups_view->sortByColumn(0,Qt::AscendingOrder);
list_groups_model=new RDGroupListModel(false,true,this);
list_groups_model->setFont(defaultFont());
list_groups_model->setPalette(palette());