Possibility to remove the fields wrapping within the same form

This commit is contained in:
Bertrand Songis
2021-02-23 12:12:35 +01:00
parent a4b8aafb36
commit 8d519c9fde
+1 -1
View File
@@ -124,7 +124,7 @@ void FormGroup::addField(FormField * field, bool front)
last->setNextField(this);
link(previous, first);
}
else {
else if (WRAP_FORM_FIELDS_WITHIN_PAGE) {
link(last, first);
}
if (!focusWindow && !(field->getWindowFlags() & FORM_FORWARD_FOCUS)) {