diff --git a/metaitem.cpp b/metaitem.cpp
index 9b0779d..3aa6f8d 100755
--- a/metaitem.cpp
+++ b/metaitem.cpp
@@ -1073,7 +1073,7 @@ void MetaItem::changeMargins(
 
   if (ok) {
     margin->setValues(values[0],values[1]);
-    setMeta(topOfStep,bottomOfStep,margin,append,useTop,local);
+    setMeta(topOfStep,bottomOfStep,margin,useTop,append,local);
   }
 }
 
