r14965 by jghali - #9007: Horizontal/Vertical Page Gaps toggle everytime document settings are applied

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 12 23:20:19 CEST 2010


Revision: 14965
Author: jghali
Date: 2010-04-12T21:15:26.466964Z
Commit message: #9007: Horizontal/Vertical Page Gaps toggle everytime document settings are applied

Changeset: 
M  /trunk/Scribus/scribus/ui/reformdoc.cpp

Diffs:
Index: scribus/ui/reformdoc.cpp
===================================================================
--- scribus/ui/reformdoc.cpp	(revision 14964)
+++ scribus/ui/reformdoc.cpp	(revision 14965)
@@ -224,8 +224,8 @@
 	int fp = tabPage->choosenLayout;
 	currDoc->setPageSetFirstPage(fp, tabPage->docLayout->firstPage->currentIndex());
 //	currDoc->pageSets[fp].GapHorizontal = tabView->gapHorizontal->value() / currDoc->unitRatio();
-	currDoc->setPageGapHorizontal(tabView->gapVertical->value() / currDoc->unitRatio());
-	currDoc->setPageGapVertical(tabView->gapHorizontal->value() / currDoc->unitRatio());
+	currDoc->setPageGapHorizontal(tabView->gapHorizontal->value() / currDoc->unitRatio());
+	currDoc->setPageGapVertical(tabView->gapVertical->value() / currDoc->unitRatio());
 //	currDoc->pageSets[fp].GapBelow = tabView->gapVertical->value() / currDoc->unitRatio();
 	//currDoc->FirstPnum = pageNumber->value();
 	currDoc->resetPage(updatedMargins, fp);




More information about the scribus-commit mailing list