r21350 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon May 23 20:20:01 UTC 2016


Author: jghali
Date: Mon May 23 20:20:01 2016
New Revision: 21350

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21350
Log:
#14092: Ctrl+D (Duplicate) clones object but doesn't enable properties palette

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21350&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Mon May 23 20:20:01 2016
@@ -6352,16 +6352,15 @@
 	mdData.copyShiftGapV = doc->opToolPrefs().dispY * doc->unitRatio();
 
 	int oldItemCount = doc->Items->count();
+	doc->m_Selection->delaySignalsOn();
 	doc->itemSelection_MultipleDuplicate(mdData);
-
-	doc->m_Selection->blockSignals(true);
 	view->Deselect(true);
 	for (int i = oldItemCount; i < doc->Items->count(); ++i)
 	{
 		PageItem* item = doc->Items->at(i);
 		doc->m_Selection->addItem(item);
 	}
-	doc->m_Selection->blockSignals(false);
+	doc->m_Selection->delaySignalsOff();
 
 	if (trans)
 		trans.commit();




More information about the scribus-commit mailing list