[kdevplatform] plugins/projectmanagerview: Revert "Enforce setting focus to the document tree view when opening a document"
Milian Wolff
mail at milianw.de
Sun Jun 15 10:55:35 UTC 2014
Git commit 1a1d00c92faeaa42474a62af8486402d366efae6 by Milian Wolff.
Committed on 15/06/2014 at 10:53.
Pushed by mwolff into branch 'master'.
Revert "Enforce setting focus to the document tree view when opening a document"
This patch breaks a common workflow, where switching between files,
then pressing "ctrl + c" to save the selection of a file, actually
copies the file not the selection in the editor.
If you want to select something in the editor in the single-mouse-
click environment, then use CTRL + click.
CCMAIL: niko.sams at gmail.com
CCMAIL: kdevelop-devel at kde.org
This reverts commit 782ce8b5631c24762d19c9e309c9d927f6e09732.
M +0 -1 plugins/projectmanagerview/projecttreeview.cpp
http://commits.kde.org/kdevplatform/1a1d00c92faeaa42474a62af8486402d366efae6
diff --git a/plugins/projectmanagerview/projecttreeview.cpp b/plugins/projectmanagerview/projecttreeview.cpp
index e118553..41122a5 100644
--- a/plugins/projectmanagerview/projecttreeview.cpp
+++ b/plugins/projectmanagerview/projecttreeview.cpp
@@ -283,7 +283,6 @@ void ProjectTreeView::slotActivated( const QModelIndex &index )
{
emit activate( item->file()->path() );
}
- setFocus();
}
//TODO test whether this could be replaced by projectbuildsetwidget.cpp::showContextMenu_appendActions
void popupContextMenu_appendActions(QMenu& menu, const QList<QAction*>& actions)
More information about the KDevelop-devel
mailing list