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
remotes/origin/epub-qtextdoc
Fabio D'Urso 13 years ago
parent 2a31087ac1
commit ae64a4ba48
  1. 2
      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() ) );

Loading…
Cancel
Save