diff --git a/GUI/View/Widget/GroupBoxes.cpp b/GUI/View/Widget/GroupBoxes.cpp
index 80ff7a2d1019d2e40ebf5bf3aaa5090da544e631..9225d3f7e74f58104c2e0cd7a0a9057df61ce3ff 100644
--- a/GUI/View/Widget/GroupBoxes.cpp
+++ b/GUI/View/Widget/GroupBoxes.cpp
@@ -42,8 +42,8 @@ GroupBox::GroupBox(const QString& title, QLayout* content_layout, QWidget* paren
     mainLayout->setMenuBar(label);
     mainLayout->addWidget(contentArea);
 
-    setTitle("");          // title has been read above
-    setLayout(mainLayout); // overwrites layout that has been read above
+    setTitle("");
+    setLayout(mainLayout);
 }
 
 //  ************************************************************************************************