r18237 by fschmid - Fixed crash when switching gradient modes.

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 8 21:00:14 UTC 2013


Author: fschmid
Date: Mon Apr  8 21:00:14 2013
New Revision: 18237

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18237
Log:
Fixed crash when switching gradient modes.

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18237&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Mon Apr  8 21:00:14 2013
@@ -8285,6 +8285,8 @@
 					}
 					break;
 				default:
+					currItem->selectedMeshPointX = -1;
+					currItem->selectedMeshPointY = 0;
 					break;
 			}
 			if ((typ > 0) && (typ < 8))




More information about the scribus-commit mailing list