r19151 by craig - #12325: Likely also fix recent scripts menu not reported to be broken

scribus-commit scribus-commit at lists.scribus.net
Tue May 27 21:09:55 UTC 2014


Author: craig
Date: Tue May 27 21:09:54 2014
New Revision: 19151

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19151
Log:
#12325: Likely also fix recent scripts menu not reported to be broken

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19151&path=/trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp Tue May 27 21:09:54 2014
@@ -142,7 +142,7 @@
 	{
 		QString strippedName=RecentScripts[m];
 		strippedName.remove(QDir::separator());
-		scrRecentScriptActions.insert(strippedName, new ScrAction( ScrAction::RecentScript, RecentScripts[m], QKeySequence(), this));
+		scrRecentScriptActions.insert(strippedName, new ScrAction( ScrAction::RecentScript, RecentScripts[m], QKeySequence(), this, RecentScripts[m]));
 		connect( scrRecentScriptActions[strippedName], SIGNAL(triggeredData(QString)), this, SLOT(RecentScript(QString)) );
 		menuMgr->addMenuItemString(strippedName, "RecentScripts");
 	}




More information about the scribus-commit mailing list