Mercurial > trustbridge
comparison ui/certificatelistwidget.cpp @ 653:39f03316f675 trustbridge-refactor
Change button text when toggling details and select the first list item.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 25 Jun 2014 14:56:19 +0200 |
parents | 7cd6602e3fa2 |
children | 320a64d58e62 |
comparison
equal
deleted
inserted
replaced
652:f65503c1833b | 653:39f03316f675 |
---|---|
233 return true; | 233 return true; |
234 } | 234 } |
235 } | 235 } |
236 return false; | 236 return false; |
237 } | 237 } |
238 | |
239 void CertificateListWidget::setSelected(int index) | |
240 { | |
241 mCertificateList->setFocus(); | |
242 if (mCertificateList->count() > 0) { | |
243 mCertificateList->item(0)->setSelected(true); | |
244 } | |
245 } |