r19703 by jghali - #12864: Undo/Redo rounds column gap value

scribus-commit scribus-commit at lists.scribus.net
Tue Dec 30 22:14:40 UTC 2014


Author: jghali
Date: Tue Dec 30 22:14:40 2014
New Revision: 19703

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19703
Log:
#12864: Undo/Redo rounds column gap value

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19703&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Tue Dec 30 22:14:40 2014
@@ -6700,9 +6700,9 @@
 void PageItem::restoreColumnsGap(SimpleState *ss, bool isUndo)
 {
 	if (isUndo)
-		ColGap = ss->getInt("OLD_COLUMNS");
-	else
-		ColGap = ss->getInt("NEW_COLUMNS");
+		ColGap = ss->getDouble("OLD_COLUMNS");
+	else
+		ColGap = ss->getDouble("NEW_COLUMNS");
 	update();
 }
 




More information about the scribus-commit mailing list