diff --git a/Code/Wrappers/PyQt/otbapp/widgets.py b/Code/Wrappers/PyQt/otbapp/widgets.py
index 32c9639a43dfa61ae63512ca7ce8fea25f06cfb0..69db8dfb4d5f474e1590260709746e880781e635 100644
--- a/Code/Wrappers/PyQt/otbapp/widgets.py
+++ b/Code/Wrappers/PyQt/otbapp/widgets.py
@@ -348,13 +348,13 @@ class QParameterGroup(QParameterBase):
                 form.addRow(w)
 
         if self._paramKey:
-           # not the root group
-           group = QtGui.QGroupBox()
-           group.setTitle( app.GetParameterName(self._paramKey) )
-           group.setLayout(form)
-           
-           layout = QtGui.QHBoxLayout()
-           layout.addWidget(group)
-           self.setLayout(layout)
+            # not the root group
+            group = QtGui.QGroupBox()
+            group.setTitle( app.GetParameterName(self._paramKey) )
+            group.setLayout(form)
+
+            layout = QtGui.QHBoxLayout()
+            layout.addWidget(group)
+            self.setLayout(layout)
         else:
             self.setLayout(form)