diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-14 20:00:29 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2016-09-14 20:36:04 +1000 |
commit | 1ee63d2610b875d8dd20fbe120044492b8d0b6e1 (patch) | |
tree | d67cd08effad01069da474a9a9b74b781601739b /gtk2_ardour/export_file_notebook.h | |
parent | b66d5e842b954f69c3cdff71c133c78b93b4e698 (diff) |
Restore state of analyze and soundcloud upload checkboxes in ExportDialog
This should be a proper fix for bug #7003, now that I've spent a bit more time
reading the code. The options are now stored as part of the export format
state.
Diffstat (limited to 'gtk2_ardour/export_file_notebook.h')
-rw-r--r-- | gtk2_ardour/export_file_notebook.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/export_file_notebook.h b/gtk2_ardour/export_file_notebook.h index b39620b72f..3588197469 100644 --- a/gtk2_ardour/export_file_notebook.h +++ b/gtk2_ardour/export_file_notebook.h @@ -85,6 +85,9 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr void update_example_filename(); + void update_analysis_button (); + void update_soundcloud_upload_button (); + ARDOUR::ExportProfileManager::FormatStatePtr get_format_state () const { return format_state; } ARDOUR::ExportProfileManager::FilenameStatePtr get_filename_state () const { return filename_state; } @@ -95,11 +98,9 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr void update_tab_label (); void critical_selection_changed (); void analysis_changed (); + void soundcloud_upload_changed (); - void on_show (); void on_hide (); - void store_state (); - void restore_state (); ARDOUR::ExportProfileManager::FormatStatePtr format_state; ARDOUR::ExportProfileManager::FilenameStatePtr filename_state; @@ -123,6 +124,8 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr Gtk::Alignment tab_close_alignment; Gtk::Button tab_close_button; uint32_t tab_number; + + bool save_format_on_hide; }; }; |