r15263 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:50:21 CEST 2010
Revision: 15263
Author: cbradney
Date: 2010-06-24T16:40:27.147815Z
Commit message: #9205: Fix line width maximum to be the same as PP maximum
Changeset:
M /branches/Version135/Scribus/scribus/plugins/scriptplugin/cmdsetprop.cpp
Diffs:
Index: scribus/plugins/scriptplugin/cmdsetprop.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmdsetprop.cpp (revision 15262)
+++ scribus/plugins/scriptplugin/cmdsetprop.cpp (revision 15263)
@@ -240,9 +240,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