r16996 by fschmid - Fixed Bug 10093: "[patch] Unable to reset rules to 0, 0 corner of page - master page mode"

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 20 17:32:19 UTC 2011


Author: fschmid
Date: Sun Nov 20 17:32:19 2011
New Revision: 16996

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16996
Log:
Fixed Bug 10093: "[patch] Unable to reset rules to 0,0 corner of page - master page mode"

Modified:
    trunk/Scribus/scribus/ui/rulermover.cpp

Modified: trunk/Scribus/scribus/ui/rulermover.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16996&path=/trunk/Scribus/scribus/ui/rulermover.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/rulermover.cpp (original)
+++ trunk/Scribus/scribus/ui/rulermover.cpp Sun Nov 20 17:32:19 2011
@@ -33,6 +33,8 @@
 #include "canvasgesture_rulermove.h"
 #include "scribusview.h"
 #include "scribusdoc.h"
+#include "scraction.h"
+#include "scribus.h"
 
 #include "util_icon.h"
 
@@ -80,6 +82,7 @@
 		QMenu *pmen2 = NULL;
 		qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
 		pmen->addAction( tr("Reset Rulers"), this, SLOT(resetRulers()));
+		pmen->addAction(currView->Doc->scMW()->scrActions["viewRulerMode"]);
 		if (currView->Doc->guidesPrefs().rulerMode)
 		{
 			pmen2 = new QMenu();




More information about the scribus-commit mailing list