Skip to content
Permalink
Browse files

wrong placement for endMacro() call fixed

  • Loading branch information
nastasi-oq committed Mar 9, 2019
1 parent 88edd8b commit 38cb90a0df11574cac9af037d6eb913ca3487486
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/layout/qgslayoutaligner.cpp
@@ -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;
}

0 comments on commit 38cb90a

Please sign in to comment.
You can’t perform that action at this time.