diff --git a/agui2/src/Graphics/InputGraphicsBox.cpp b/agui2/src/Graphics/InputGraphicsBox.cpp index 5bd346d58ea1334667c7025cf53a3477a0b003b7..aa43abb8570230632bbde28e47a17b64aacfb0d1 100644 --- a/agui2/src/Graphics/InputGraphicsBox.cpp +++ b/agui2/src/Graphics/InputGraphicsBox.cpp @@ -31,6 +31,7 @@ void InputGraphicsBox::on_SetInput() } this->color = model->getAutomaton() ? Qt::blue : Qt::red; + this->update(); } void InputGraphicsBox::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) {