diff --git a/src/actors/robot/robotmodule.cpp b/src/actors/robot/robotmodule.cpp index b210ea39a026fcc5b709ff0a4f93ff409f6da214..9267b242702503404a14ac1951cf3fb459487806 100644 --- a/src/actors/robot/robotmodule.cpp +++ b/src/actors/robot/robotmodule.cpp @@ -240,6 +240,8 @@ namespace ActorRobot { upWallLine->setPen(pen); Scene->addItem(upWallLine); upWallLine->setZValue(1); + Scene->update(); + update(); } void FieldItm::showCharMark(qreal upLeftCornerX, qreal upLeftCornerY, int size) @@ -414,6 +416,8 @@ namespace ActorRobot { downWallLine->setPen(pen); Scene->addItem(downWallLine); downWallLine->setZValue(1); + Scene->update(); + update(); } void FieldItm::setLeftLine(QGraphicsLineItem *Line, QPen pen) @@ -422,6 +426,8 @@ namespace ActorRobot { leftWallLine->setPen(pen); Scene->addItem(leftWallLine); leftWallLine->setZValue(1); + Scene->update(); + update(); } void FieldItm::setRightLine(QGraphicsLineItem *Line, QPen pen) @@ -431,6 +437,8 @@ namespace ActorRobot { Scene->addItem(rightWallLine); rightWallLine->setZValue(1); + Scene->update(); + update(); } bool FieldItm::hasUpWall()