Skip to content

Commit

Permalink
Fix pasting items to the top or left of first page
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 6, 2017
1 parent ef9e013 commit d36884f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutdesignerdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ void QgsLayoutDesignerDialog::undoRedoOccurredForItems( const QSet<QString> item

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

0 comments on commit d36884f

Please sign in to comment.