Skip to content

Commit d36884f

Browse files
committed
Fix pasting items to the top or left of first page
1 parent ef9e013 commit d36884f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/layout/qgslayoutdesignerdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ void QgsLayoutDesignerDialog::undoRedoOccurredForItems( const QSet<QString> item
11321132

11331133
void QgsLayoutDesignerDialog::paste()
11341134
{
1135-
QPointF pt = mView->mapToScene( mView->mapFromGlobal( QCursor::pos() ) );
1135+
QPointF pt = mView->mapFromGlobal( QCursor::pos() );
11361136
//TODO - use a better way of determining whether paste was triggered by keystroke
11371137
//or menu item
11381138
QList< QgsLayoutItem * > items;

0 commit comments

Comments
 (0)