r18995 by jghali - #12178: Undo/Redo is not able to restore Spiral/Table entries in "Outline" window

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 4 12:05:23 UTC 2014


Author: jghali
Date: Fri Apr  4 12:05:23 2014
New Revision: 18995

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18995
Log:
#12178: Undo/Redo is not able to restore Spiral/Table entries in "Outline" window

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18995&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Fri Apr  4 12:05:23 2014
@@ -5162,6 +5162,8 @@
 	m_Doc->SnapElement = SnapElementBackup;
 	m_Doc->SnapGrid = SnapGridBackup;
 	m_Doc->SnapGuides = SnapGuidesBackup;
+	if (state->transactionCode == 0 || state->transactionCode == 2)
+		this->update();
 }
 
 void PageItem::restoreConnectPath(SimpleState *state, bool isUndo)




More information about the scribus-commit mailing list