Skip to content

Commit

Permalink
Added a confirmation box when restoring Organ Settings to default #1674
Browse files Browse the repository at this point in the history
… (#1693)
  • Loading branch information
oleg68 authored Oct 29, 2023
1 parent b7c187a commit 402e911
Show file tree
Hide file tree
Showing 6 changed files with 540 additions and 875 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Added a confirmation box when restoring Organ Settings to default https://github.com/GrandOrgue/grandorgue/issues/1674
- Replaced the Cancel and OK buttons in the Organ Settings dialog with the single Close button https://github.com/GrandOrgue/grandorgue/issues/1674
- Fixed change tracking and enableing/disabling the Discard and Apply buttons in the Organ Settings dialog https://github.com/GrandOrgue/grandorgue/issues/1674
- Renamed the Reset button to Discard in the Organ Settings dialog https://github.com/GrandOrgue/grandorgue/issues/1674
Expand Down
44 changes: 35 additions & 9 deletions help/grandorgue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5577,17 +5577,43 @@ Within windchests, the ranks are ordered as found in the definition file.
</varlistentry>
<varlistentry>
<term>Default</term>
<listitem>
<simpara>This button restores the setting values for the selected element from the organ definition file.</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>Default for All</term>
<listitem>
<simpara>
This button restores the setting values for the selected element
and all its child elements from the organ definition file.
</simpara>
This button restores the setting values for the selected elements
from the organ definition file.
</simpara>
<caution>
<simpara>
This action can not be undone with the
<emphasis role="bold">Discard</emphasis> button.
</simpara>
</caution>
<simpara>
If any of selected elements has a subelement then a confirmation
box will appear.
</simpara>
<mediaobject>
<imageobject>
<imagedata
scalefit="1" width="100%"
fileref="images/organ_settings_default.png"
/>
</imageobject>
</mediaobject>
<simpara>
Pushing <emphasis role="bold">No</emphasis> causes restoring the
values only for the selected elements but not for their
subelements.
</simpara>
<simpara>
Pushing <emphasis role="bold">Yes</emphasis> causes restoring the
values for the selected and for all their subelements
recursivelly.
</simpara>
<simpara>
Pushing <emphasis role="bold">Cancel</emphasis> causing not
changing anything.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
Expand Down
Binary file added help/images/organ_settings_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 402e911

Please sign in to comment.