Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased the maximum value of Enclosures from 50 to 999 https://github.com/GrandOrgue/grandorgue/issues/1484 #1521

Merged
merged 1 commit into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Increased the maximum value of Enclosures from 50 to 999 https://github.com/GrandOrgue/grandorgue/issues/1484
# 3.11.2 (2023-05-08)
- Fixed crash on loading organ with general of divisional buttons https://github.com/GrandOrgue/grandorgue/issues/1512
# 3.11.1 (2023-05-03)
Expand Down
2 changes: 1 addition & 1 deletion help/grandorgue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7037,7 +7037,7 @@ The manual information for each manual is available in sections called
<term>NumberOfEnclosures</term>
<listitem>
<para>
(integer 0 - 50, required) number of enclosures. The details of each enclosure are contained in a section called <emphasis>Enclosure999</emphasis>
(integer 0 - 999 required) number of enclosures. The details of each enclosure are contained in a section called <emphasis>Enclosure999</emphasis>
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/model/GOOrganModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void GOOrganModel::Load(
m_manuals.push_back(new GOManual(organController));

unsigned NumberOfEnclosures
= cfg.ReadInteger(ODFSetting, group, wxT("NumberOfEnclosures"), 0, 50);
= cfg.ReadInteger(ODFSetting, group, wxT("NumberOfEnclosures"), 0, 999);
m_enclosures.resize(0);
for (unsigned i = 0; i < NumberOfEnclosures; i++) {
m_enclosures.push_back(new GOEnclosure(*organController));
Expand Down