r20495 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Oct 25 10:15:26 UTC 2015


Author: jghali
Date: Sun Oct 25 10:15:26 2015
New Revision: 20495

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20495
Log:
#13467: crash when deleting footnote frame <aliyousuf>

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20495&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp	Sun Oct 25 10:15:26 2015
@@ -4937,6 +4937,10 @@
 	}
 	else //remove marks without undo
 		marksNum = removeMarksFromText(false);
+
+	start = itemText.startOfSelection();
+	stop = itemText.endOfSelection();
+
 	itemText.setCursorPosition(start);
 	//for sure text is still selected
 	itemText.select(start, stop - start - marksNum);




More information about the scribus-commit mailing list