r18185 by craig - #11448: Only display the paste content absolute for image frames

scribus-commit scribus-commit at lists.scribus.net
Tue Mar 5 21:22:15 UTC 2013


Author: craig
Date: Tue Mar  5 21:22:15 2013
New Revision: 18185

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18185
Log:
#11448: Only display the paste content absolute for image frames

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

Modified: trunk/Scribus/scribus/ui/contextmenu.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18185&path=/trunk/Scribus/scribus/ui/contextmenu.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/contextmenu.cpp (original)
+++ trunk/Scribus/scribus/ui/contextmenu.cpp Tue Mar  5 21:22:15 2013
@@ -441,7 +441,7 @@
 			menuEditContents->addAction(m_AP->scrActions["editCopyContents"]);
 		if (m_actionList.contains("editPasteContents"))
 			menuEditContents->addAction(m_AP->scrActions["editPasteContents"]);
-		if (m_actionList.contains("editPasteContentsAbs"))
+		if (currItem->asImageFrame() && m_actionList.contains("editPasteContentsAbs"))
 			menuEditContents->addAction(m_AP->scrActions["editPasteContentsAbs"]);
 	}
 	if (m_actionList.contains("editClearContents"))




More information about the scribus-commit mailing list