Skip to content
Permalink
Browse files

Move layer selection menu a few pixel to the right / bottom

  • Loading branch information
mhugent committed May 21, 2013
1 parent 343ebe5 commit e5d8307ca3c4577b4ad9259054f1c87a3e2b7222
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptoolidentifyaction.cpp
@@ -258,7 +258,7 @@ void QgsMapToolIdentifyAction::fillLayerSelectionMenu( QMenu& menu )

void QgsMapToolIdentifyAction::execLayerSelectionMenu( QMenu& menu, const QPoint& pos, QList<IdentifyResult>& resultList )
{
QAction* selectedAction = menu.exec( pos );
QAction* selectedAction = menu.exec( QPoint( pos.x() + 5, pos.y() + 5 ) );
if ( selectedAction )
{
QgsMapLayer* selectedLayer = QgsMapLayerRegistry::instance()->mapLayer( selectedAction->data().toString() );

0 comments on commit e5d8307

Please sign in to comment.
You can’t perform that action at this time.