Mercurial > trustbridge
changeset 1323:c582b935c120
(issue166) Disable multiple selection for certificates.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 14 Oct 2014 18:10:17 +0200 |
parents | 02c7dea7ea67 |
children | b6fb5d347023 |
files | ui/administratorwindow.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/administratorwindow.cpp Mon Oct 13 18:13:22 2014 +0200 +++ b/ui/administratorwindow.cpp Tue Oct 14 18:10:17 2014 +0200 @@ -101,6 +101,7 @@ certificateView->resizeColumnsToContents(); certificateView->setColumnWidth(0, 60); certificateView->setSelectionBehavior(QAbstractItemView::SelectRows); + certificateView->setSelectionMode(QAbstractItemView::SingleSelection); connect(certificateView, SIGNAL(clicked(const QModelIndex&)), this, SLOT(clickedCertificate(const QModelIndex&))); certificateView->verticalHeader()->setVisible(false);