mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-21 14:02:58 +02:00
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that allowed more than one PyPAD instance to be selected at a time in the 'List PyPAD Instances' dialog.
This commit is contained in:
@@ -75,6 +75,7 @@ ListPypads::ListPypads(RDStation *station,QWidget *parent)
|
||||
// Instances List Box
|
||||
//
|
||||
list_list_view=new RDListView(this);
|
||||
list_list_view->setSelectionMode(Q3ListView::Single);
|
||||
list_list_view->setAllColumnsShowFocus(true);
|
||||
list_list_view->setItemMargin(5);
|
||||
list_list_view->addColumn(" ");
|
||||
@@ -198,7 +199,9 @@ void ListPypads::addData()
|
||||
RDListViewItem *item=new RDListViewItem(list_list_view);
|
||||
item->setId(id);
|
||||
RefreshItem(item);
|
||||
list_list_view->clearSelection();
|
||||
list_list_view->ensureItemVisible(item);
|
||||
list_list_view->setCurrentItem(item);
|
||||
item->setSelected(true);
|
||||
RDNotification notify=RDNotification(RDNotification::PypadType,
|
||||
RDNotification::AddAction,id);
|
||||
|
Reference in New Issue
Block a user