Skip to content

Commit

Permalink
[layertree] Do not start editing in tree view too easily
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jun 4, 2014
1 parent ac0cbb4 commit 575e469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/layertree/qgslayertreeview.cpp
Expand Up @@ -33,7 +33,7 @@ QgsLayerTreeView::QgsLayerTreeView( QWidget *parent )
setDragEnabled( true );
setAcceptDrops( true );
setDropIndicatorShown( true );
setEditTriggers( EditKeyPressed | SelectedClicked );
setEditTriggers( EditKeyPressed );
setExpandsOnDoubleClick( false ); // normally used for other actions

setSelectionMode( ExtendedSelection );
Expand Down

0 comments on commit 575e469

Please sign in to comment.