r19280 by craig - As Outline palette uses the document selection instance, delete with that, as this fixes the on canvas selection redraw of selection frame issue

scribus-commit scribus-commit at lists.scribus.net
Wed Jun 25 20:16:20 UTC 2014


Author: craig
Date: Wed Jun 25 20:16:20 2014
New Revision: 19280

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19280
Log:
As Outline palette uses the document selection instance, delete with that, as this fixes the on canvas selection redraw of selection frame issue

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

Modified: trunk/Scribus/scribus/ui/outlinepalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19280&path=/trunk/Scribus/scribus/ui/outlinepalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outlinepalette.cpp (original)
+++ trunk/Scribus/scribus/ui/outlinepalette.cpp Wed Jun 25 20:16:20 2014
@@ -251,14 +251,14 @@
 							{
 								PageItem* pageItem = item->PageItemObject;
 								if (!pageItem->isGroupChild())
-									d->itemSelection_DeleteItem();
+									item->DocObject->itemSelection_DeleteItem();
 							}
 							break;
 						case 3: //PageItem on normal page
 							{
 								PageItem* pageItem = item->PageItemObject;
 								if (!pageItem->isGroupChild())
-									d->itemSelection_DeleteItem();
+									item->DocObject->itemSelection_DeleteItem();
 							}
 							break;
 						default:




More information about the scribus-commit mailing list