r17149 by fschmid - "Paste Recent" pastes now at the positon of the mouse click.

scribus-commit scribus-commit at lists.scribus.net
Fri Dec 30 10:30:15 UTC 2011


Author: fschmid
Date: Fri Dec 30 10:30:14 2011
New Revision: 17149

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17149
Log:
"Paste Recent" pastes now at the positon of the mouse click.

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17149&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Fri Dec 30 10:30:14 2011
@@ -3386,7 +3386,7 @@
 			bool savedAlignGuides = doc->SnapGuides;
 			doc->useRaster = false;
 			doc->SnapGuides = false;
-			slotElemRead(data, doc->currentPage()->xOffset(), doc->currentPage()->yOffset(), true, true, doc, view);
+			slotElemRead(data, view->dragX, view->dragY, true, false, doc, view);
 			doc->useRaster = savedAlignGrid;
 			doc->SnapGuides = savedAlignGuides;
 			Selection tmpSelection(this, false);




More information about the scribus-commit mailing list