Skip to content

Commit

Permalink
Move layer selection menu a few pixel to the right / bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed May 21, 2013
1 parent 343ebe5 commit e5d8307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolidentifyaction.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit e5d8307

Please sign in to comment.