r19884 by craig - #12371: Don't allow deletion of group children individually

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 25 21:54:30 UTC 2015


Author: craig
Date: Wed Feb 25 21:54:30 2015
New Revision: 19884

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19884
Log:
#12371: Don't allow deletion of group children individually

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19884&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Wed Feb 25 21:54:30 2015
@@ -11621,6 +11621,9 @@
 				continue;
 			}
 		}
+		//#12371 don't delete group items
+		if(currItem->isGroupChild())
+			continue;
 		//CB FIXME remove this and include of storyeditor.h too
 		if ((currItem->asTextFrame() || currItem->asPathText()) && currItem==m_ScMW->storyEditor->currentItem() && this==m_ScMW->storyEditor->currentDocument())
 		{




More information about the scribus-commit mailing list