Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5051 → Rev 5052

/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp
85,6 → 85,11
return NULL;
if(!checkHaveDocument())
return NULL;
if (!ScMW->doc->MasterNames.contains(name))
{
PyErr_SetString(PyExc_IndexError, QObject::tr("Given master page name does not match any existing.","python error"));
return NULL;
}
if (e < 0)
ScMW->slotNewPageP(ScMW->doc->Pages->count(), QString::fromUtf8(name));
else