Check if format is valid before starting export

This can happen if e.g. mp3 export is n/a, but a mp3
preset is present.
This commit is contained in:
Robin Gareus 2022-11-04 21:57:53 +01:00
parent 15e1b8f675
commit f807ea6ea2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 28 additions and 0 deletions

View file

@ -56,6 +56,7 @@ private:
void start_export ();
void close_dialog ();
void show_progress ();
void check_manager ();
void set_error (std::string const&);
bool progress_timeout ();
@ -69,6 +70,7 @@ private:
Gtk::ProgressBar _progress_bar;
sigc::connection _progress_connection;
sigc::connection _preset_cfg_connection;
};
#endif