From ae64a4ba4808b3be1c2504effe98a1011871a9b2 Mon Sep 17 00:00:00 2001 From: Fabio D'Urso Date: Fri, 24 May 2013 17:51:49 +0200 Subject: [PATCH] Annotation tool configuration: open edit window back on itemDoubleClick Otherwise it's impossible to select items if itemActivated is configured to be triggered by single-clicks. This reverts f1d5638dca34438d0bdd7d04f8f5fc119d711ffc --- conf/widgetannottools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/widgetannottools.cpp b/conf/widgetannottools.cpp index 0696ec1ae..6d05eed8b 100644 --- a/conf/widgetannottools.cpp +++ b/conf/widgetannottools.cpp @@ -67,7 +67,7 @@ WidgetAnnotTools::WidgetAnnotTools( QWidget * parent ) vBoxLayout->addStretch(); hBoxLayout->addLayout( vBoxLayout ); - connect( m_list, SIGNAL( itemActivated(QListWidgetItem*) ), this, SLOT( slotEdit() ) ); + connect( m_list, SIGNAL( itemDoubleClicked(QListWidgetItem*) ), this, SLOT( slotEdit() ) ); connect( m_list, SIGNAL( currentRowChanged(int) ), this, SLOT( updateButtons() ) ); connect( m_btnAdd, SIGNAL( clicked(bool) ), this, SLOT( slotAdd() ) ); connect( m_btnEdit, SIGNAL( clicked(bool) ), this, SLOT( slotEdit() ) );