]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionmodifyattributes.cpp
Fixed Library Browser...
[architektonas] / src / actions / actionmodifyattributes.cpp
index ab8481d93e5db9c1bd8dad55f03850e53824ebbf..f3cbd7e5e01017559e6851edfdfdaac5481ebac1 100644 (file)
@@ -49,13 +49,15 @@ void ActionModifyAttributes::trigger()
        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();