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 f1d5638dca
This commit is contained in:
Fabio D'Urso 2013-05-24 17:51:49 +02:00
parent 2a31087ac1
commit ae64a4ba48

View file

@ -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() ) );