Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5049 → Rev 5050

/branches/Version13x/Scribus/scribus/plugins/scriptplugin/pconsole.cpp
54,7 → 54,7
menuBar->insertItem(tr("&File"), fileMenu);
QPopupMenu *scriptMenu = new QPopupMenu(this);
scriptMenu->insertItem(loadIcon("ok.png"), tr("&Run"), this, SLOT(slot_runScript()), Key_F9);
scriptMenu->insertItem(tr("Run As &Console"), this, SLOT(slot_runScriptAsConsole()), Key_F2);
scriptMenu->insertItem(tr("Run As &Console"), this, SLOT(slot_runScriptAsConsole()), CTRL+Key_F9);
scriptMenu->insertItem(tr("&Save Output..."), this, SLOT(slot_saveOutput()));
menuBar->insertItem(tr("&Script"), scriptMenu);
 
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
170,6 → 170,9
 
scripterCore = new ScripterCore(ScMW);
Q_CHECK_PTR(scripterCore);
// PV - FIXME: possible fix for crashing
RetString = " ";
Q_ASSERT(RetString);
initscribus(ScMW);
#ifdef HAVE_SCRIPTER2
scripter2_init();