mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Properly revert FormatSpec changes on "cancel"
Previously the ExportFormatDialog saved changes to disk on "save" but did nothing on "cancel". The format changed *remained* modified in memory, just not saved (until the ExportProfileManager is re-instantiated)
This commit is contained in:
parent
9326ced760
commit
555dcd11fd
3 changed files with 5 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ ExportFormatSelector::open_edit_dialog (bool new_dialog)
|
|||
update_format_description ();
|
||||
FormatEdited (state->format);
|
||||
CriticalSelectionChanged();
|
||||
} else {
|
||||
FormatReverted (state->format);
|
||||
CriticalSelectionChanged();
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue