r17216 by fschmid - Fixed the issue that "Item Duplicate" wasn't working in some rare cases.
scribus-commit
scribus-commit at lists.scribus.net
Thu Jan 19 22:13:07 UTC 2012
Author: fschmid
Date: Thu Jan 19 22:13:07 2012
New Revision: 17216
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17216
Log:
Fixed the issue that "Item Duplicate" wasn't working in some rare cases.
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17216&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Thu Jan 19 22:13:07 2012
@@ -5019,7 +5019,7 @@
if (HaveDoc)
{
UndoTransaction* activeTransaction = NULL;
- if (!ScMimeData::clipboardHasScribusData())
+ if (!ScMimeData::clipboardHasScribusData() && (!internalCopy))
return;
if (UndoManager::undoEnabled())
activeTransaction = new UndoTransaction(undoManager->beginTransaction(doc->currentPage()->getUName(), 0, Um::Paste, "", Um::IPaste));
More information about the scribus-commit
mailing list