r16469 by craig - #9860: Text undo crash fix
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 21 15:14:35 CET 2011
Author: craig
Date: Mon Mar 21 14:14:34 2011
New Revision: 16469
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16469
Log:
#9860: 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=16469&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:14:34 2011
@@ -3715,7 +3715,8 @@
//nothing change - quit without set new Undo step
itemTextSaxed.clear();
restoreTextSelection(oldSelStart, oldSelLen);
- delete ss;
+ if (newState)
+ delete ss;
return;
}
}
More information about the scribus-commit
mailing list