From d4d0ecba7004c5ce38b3348349fc6f11c5ed9447 Mon Sep 17 00:00:00 2001
From: Martin Hanzik <martin@hanzik.com>
Date: Mon, 30 Apr 2018 16:50:40 +0200
Subject: [PATCH] Redraw InputGraphicsBox on input change

---
 agui2/src/Graphics/InputGraphicsBox.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/agui2/src/Graphics/InputGraphicsBox.cpp b/agui2/src/Graphics/InputGraphicsBox.cpp
index 5bd346d58e..aa43abb857 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) {
-- 
GitLab