r16750 by fschmid - Fixed the issue that "Multiple Duplicate" disabled the properties palette.

scribus-commit scribus-commit at lists.scribus.net
Wed Aug 3 19:52:25 UTC 2011


Author: fschmid
Date: Wed Aug  3 19:52:24 2011
New Revision: 16750

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16750
Log:
Fixed the issue that "Multiple Duplicate" disabled the properties palette.

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16750&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Wed Aug  3 19:52:24 2011
@@ -11106,7 +11106,7 @@
 	DoDrawing = false;
 	view()->updatesOn(false);
 	m_Selection->delaySignalsOn();
-	m_ScMW->setScriptRunning(true);
+//	m_ScMW->setScriptRunning(true);
 	if (mdData.type==0) // Copy and offset or set a gap
 	{
 		double dH = mdData.copyShiftGapH / docUnitRatio;
@@ -11127,6 +11127,7 @@
 		m_View->Deselect(true);
 		for (int i=0; i<mdData.copyCount; ++i)
 		{
+			m_View->Deselect(true);
 			m_ScMW->slotEditPaste();
 			for (int b=0; b<m_Selection->count(); ++b)
 			{
@@ -11196,7 +11197,7 @@
 	DoDrawing = true;
 	m_Selection->delaySignalsOff();
 	view()->updatesOn(true);
-	m_ScMW->setScriptRunning(false);
+//	m_ScMW->setScriptRunning(false);
 	//FIXME: stop using m_View
 	m_View->Deselect(true);
 	view()->DrawNew();




More information about the scribus-commit mailing list