r19543 by jghali - #2733: Undo/Redo crashes Scribus editing Text using Ctrl+A in determined condition

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 29 21:59:34 UTC 2014


Author: jghali
Date: Mon Sep 29 21:59:34 2014
New Revision: 19543

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19543
Log:
#2733: Undo/Redo crashes Scribus editing Text using Ctrl+A in determined condition

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19543&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Mon Sep 29 21:59:34 2014
@@ -6827,6 +6827,7 @@
 	int start = ss->getInt("START");
 	if (isUndo)
 	{
+		itemText.deselectAll();
 		itemText.select(start,text.length());
 		asTextFrame()->deleteSelectedTextFromFrame();
 	}




More information about the scribus-commit mailing list