data.changeWidth = false;
data.changeLayer = false;
- if (graphic != NULL)
+ if (graphic)
+ {
if (RS_DIALOGFACTORY->requestAttributesDialog(data,
- *graphic->getLayerList()))
+ *graphic->getLayerList()))
{
RS_Modification m(*container, graphicView);
m.changeAttributes(data);
}
+ }
finish();
graphicView->killSelectActions();