mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-12 10:53:09 +00:00
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:
parent
2a31087ac1
commit
ae64a4ba48
|
@ -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…
Reference in a new issue