r23328 by jghali - #12320: Undo/Redo does not restore properly a flipped Spiral

scribus-commit scribus-commit at lists.scribus.net
Mon Nov 4 15:59:31 UTC 2019


Author: jghali
Date: Mon Nov  4 15:59:30 2019
New Revision: 23328

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23328
Log:
#12320: Undo/Redo does not restore properly a flipped Spiral

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23328&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp	(original)
+++ trunk/Scribus/scribus/pageitem.cpp	Mon Nov  4 15:59:30 2019
@@ -4979,15 +4979,9 @@
 			else if (ss->contains("CORNER_RADIUS"))
 				restoreCornerRadius(ss, isUndo);
 			else if (ss->contains("IMAGEFLIPH"))
-			{
-				select();
-				m_Doc->itemSelection_FlipH();
-			}
+				flipImageH();
 			else if (ss->contains("IMAGEFLIPV"))
-			{
-				select();
-				m_Doc->itemSelection_FlipV();
-			}
+				flipImageV();
 			else if (ss->contains("OVERPRINT"))
 			{
 				if (isUndo)




More information about the scribus-commit mailing list