summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_format_selector.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-11-21 23:21:13 +0100
committerRobin Gareus <robin@gareus.org>2018-11-21 23:21:13 +0100
commit555dcd11fd3c25282e0c16f99efdddc42d824ed4 (patch)
treeeefa620a5fbf1c3df79180c439720aa860282e74 /gtk2_ardour/export_format_selector.h
parent9326ced760315986fbce617bece607d75985e027 (diff)
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)
Diffstat (limited to 'gtk2_ardour/export_format_selector.h')
-rw-r--r--gtk2_ardour/export_format_selector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/export_format_selector.h b/gtk2_ardour/export_format_selector.h
index 2b7d371d04..20b8250866 100644
--- a/gtk2_ardour/export_format_selector.h
+++ b/gtk2_ardour/export_format_selector.h
@@ -57,6 +57,7 @@ public:
sigc::signal<void, FormatPtr> FormatEdited;
sigc::signal<void, FormatPtr> FormatRemoved;
sigc::signal<FormatPtr, FormatPtr> NewFormat;
+ sigc::signal<void, FormatPtr> FormatReverted;
/* Compatibility with other elements */