CComponentsWindow: remove wrong corner assignment

Overwrites corner mode for already assigned corner type for body object and
previous statement is canceled. This should avoid this.
This commit is contained in:
2016-10-07 14:25:59 +02:00
parent fe8e3896a0
commit f90440e0f1

View File

@@ -300,9 +300,6 @@ void CComponentsWindow::initBody()
ccw_body->setCornerType(CORNER_TOP);
if (!ccw_show_footer)
ccw_body->setCornerType(ccw_body->getCornerType() | CORNER_BOTTOM);
if (!ccw_show_header)
ccw_body->setCornerType(CORNER_TOP);
}
}