r16470 by craig - #9861: Text undo crash fix

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 21 15:52:13 CET 2011


Author: craig
Date: Mon Mar 21 14:52:12 2011
New Revision: 16470

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16470
Log:
#9861: Text undo crash fix

Modified:
    branches/Version135/Scribus/scribus/pageitem_textframe.cpp

Modified: branches/Version135/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16470&path=/branches/Version135/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pageitem_textframe.cpp (original)
+++ branches/Version135/Scribus/scribus/pageitem_textframe.cpp Mon Mar 21 14:52:12 2011
@@ -3650,7 +3650,7 @@
 			ExpandParSel();
 			action = PARAMSEL;
 		}
-		if (CPos >= itemText.length() && itemTextSaxed.isEmpty() && action == PARAMFULL && m_Doc->appMode == modeEdit)
+		if (CPos >= itemText.length() && itemTextSaxed.isEmpty() && action == PARAMSEL && m_Doc->appMode == modeEdit)
 		{ 
 			//case when cursor is after last character without selection and nothing was and will be done
 			//changes will be ignored




More information about the scribus-commit mailing list