Skip to content

Commit e5d8307

Browse files
committed
Move layer selection menu a few pixel to the right / bottom
1 parent 343ebe5 commit e5d8307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsmaptoolidentifyaction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void QgsMapToolIdentifyAction::fillLayerSelectionMenu( QMenu& menu )
258258

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

0 commit comments

Comments
 (0)