]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/dlgcircle.cpp
In the middle of chasing down MDI not activating bug, renaming of Graphic to
[architektonas] / src / forms / dlgcircle.cpp
index f332890c3731d12c194d5266634ad0ee1c5e9293..a117dd207466b7217b2f9ca4a408432808e8e216 100644 (file)
@@ -35,10 +35,10 @@ void DlgCircle::setCircle(Circle & c)
        circle = &c;
        //pen = circle->getPen();
        ui.wPen->setPen(circle->getPen(false), true, false, "Pen");
-       Drawing * graphic = circle->getGraphic();
+       Drawing * drawing = circle->GetDrawing();
 
-       if (graphic != NULL)
-               ui.cbLayer->init(*(graphic->getLayerList()), false, false);
+       if (drawing)
+               ui.cbLayer->init(*(drawing->getLayerList()), false, false);
 
        Layer * lay = circle->getLayer(false);