Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wrong placement for endMacro() call fixed
  • Loading branch information
nastasi-oq committed Mar 9, 2019
1 parent 88edd8b commit 38cb90a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/layout/qgslayoutaligner.cpp
Expand Up @@ -152,9 +152,8 @@ void QgsLayoutAligner::distributeItems( QgsLayout *layout, const QList<QgsLayout

currentVal += ( distribution == DistributeHSpace ? item->rect().width() :
item->rect().height() ) + step;

layout->undoStack()->endMacro();
}
layout->undoStack()->endMacro();

return;
}
Expand Down

0 comments on commit 38cb90a

Please sign in to comment.