Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1969 → Rev 1970

/trunk/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp
55,7 → 55,7
QString col = QString::fromUtf8(Name);
if (!edc.contains(col))
{
PyErr_SetString(NotFoundError, QObject::tr("Colour not found","python error"));
PyErr_SetString(NotFoundError, QObject::tr("Color not found","python error"));
return NULL;
}
QColor rgb = edc[col].getRGBColor();