We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 73f9833 commit 583151aCopy full SHA for 583151a
src/gui/qgscomposerview.cpp
@@ -304,13 +304,13 @@ void QgsComposerView::mousePressEvent( QMouseEvent* e )
304
return;
305
}
306
307
- //find highest QgsComposerItem at clicked position
+ //find highest non-locked QgsComposerItem at clicked position
308
//(other graphics items may be higher, eg selection handles)
309
QList<QGraphicsItem*>::iterator itemIter = itemsAtCursorPos.begin();
310
for ( ; itemIter != itemsAtCursorPos.end(); ++itemIter )
311
{
312
QgsComposerItem* item = dynamic_cast<QgsComposerItem *>(( *itemIter ) );
313
- if ( item )
+ if ( item && !item->positionLock() )
314
315
//we've found the highest QgsComposerItem
316
mMoveContentStartPos = scenePoint;
0 commit comments