-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor bool-array setting to
QTX_BOOLEAN_SET
The `bool_elements_array` setting was introduced in #1135 and #1137. Re-using the QTX_ARRAY code with an extra argument makes it hard to maintain. The QTX_ARRAY type is not suited for set of checkboxes. Separate the logic by handling this type all separately. The `QTX_BOOLEAN_SET` was legacy, defined but not used in the code. Make the new type generic though only used by `ma_module_enabled`. Remove the extra `bool_elements_array` argument.
- Loading branch information
Showing
1 changed file
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters