Skip to content
Snippets Groups Projects
Commit 2ce90697 authored by dt's avatar dt
Browse files

Fixes: Need to double click in Open Documents view, single click should be enough.

Task:     243877
Details:  itemClicked() instead of itemActivated()
parent 88972841
No related merge requests found
......@@ -70,8 +70,9 @@ OpenEditorsWidget::OpenEditorsWidget()
m_ui.editorList->setModel(em->openedEditorsModel());
connect(em, SIGNAL(currentEditorChanged(Core::IEditor*)),
this, SLOT(updateCurrentItem(Core::IEditor*)));
connect(m_ui.editorList, SIGNAL(activated(QModelIndex)),
this, SLOT(selectEditor(QModelIndex)));
connect(m_ui.editorList, SIGNAL(itemClicked(QTreeWidgetItem*, int)),
this, SLOT(selectEditor(QTreeWidgetItem*)));
updateEditorList();
}
OpenEditorsWidget::~OpenEditorsWidget()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment