r19279 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:10:51 UTC 2014
Author: craig
Date: Wed Jun 25 20:10:51 2014
New Revision: 19279
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19279
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=19279&path=/trunk/Scribus/scribus/ui/outlinepalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outlinepalette.cpp (original)
+++ trunk/Scribus/scribus/ui/outlinepalette.cpp Wed Jun 25 20:10:51 2014
@@ -251,24 +251,14 @@
{
PageItem* pageItem = item->PageItemObject;
if (!pageItem->isGroupChild())
- {
- Selection s(this, false);
- s.addItem(pageItem);
- ScribusDoc* d=item->DocObject;
- d->itemSelection_DeleteItem(&s);
- }
+ d->itemSelection_DeleteItem();
}
break;
case 3: //PageItem on normal page
{
PageItem* pageItem = item->PageItemObject;
if (!pageItem->isGroupChild())
- {
- Selection s(this, false);
- s.addItem(pageItem);
- ScribusDoc* d=item->DocObject;
- d->itemSelection_DeleteItem(&s);
- }
+ d->itemSelection_DeleteItem();
}
break;
default:
More information about the scribus-commit
mailing list