r15262 by cbradney - #9205: Fix line width maximum to be the same as PP maximum

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 24 18:40:22 CEST 2010


Revision: 15262
Author: cbradney
Date: 2010-06-24T16:39:13.424828Z
Commit message: #9205: Fix line width maximum to be the same as PP maximum

Changeset: 
M  /trunk/Scribus/scribus/plugins/scriptplugin/cmdsetprop.cpp

Diffs:
Index: scribus/plugins/scriptplugin/cmdsetprop.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmdsetprop.cpp	(revision 15261)
+++ scribus/plugins/scriptplugin/cmdsetprop.cpp	(revision 15262)
@@ -241,9 +241,9 @@
 		return NULL;
 	if(!checkHaveDocument())
 		return NULL;
-	if ((w < 0.0) || (w > 12.0))
+	if ((w < 0.0) || (w > 300.0))
 	{
-		PyErr_SetString(PyExc_ValueError, QObject::tr("Line width out of bounds, must be 0 <= line_width <= 12.","python error").toLocal8Bit().constData());
+		PyErr_SetString(PyExc_ValueError, QObject::tr("Line width out of bounds, must be 0 <= line_width <= 300.","python error").toLocal8Bit().constData());
 		return NULL;
 	}
 	PageItem *i = GetUniqueItem(QString::fromUtf8(Name));




More information about the scribus-commit mailing list