use legalize_for_path() on filenames for export presets and formats
git-svn-id: svn://localhost/ardour2/branches/3.0@9127 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7060fe697e
commit
ac38847d86
@ -53,7 +53,7 @@ class ExportPreset {
|
||||
|
||||
private:
|
||||
|
||||
void set_id (std::string const & id);
|
||||
void set_id (std::string id);
|
||||
|
||||
XMLNode * get_instant_xml () const;
|
||||
void save_instant_xml () const;
|
||||
|
@ -66,7 +66,7 @@ ExportPreset::set_name (string const & name)
|
||||
}
|
||||
|
||||
void
|
||||
ExportPreset::set_id (string const & id)
|
||||
ExportPreset::set_id (string id)
|
||||
{
|
||||
_id = id;
|
||||
|
||||
@ -103,8 +103,9 @@ void
|
||||
ExportPreset::save (std::string const & filename)
|
||||
{
|
||||
save_instant_xml ();
|
||||
|
||||
if (global.root()) {
|
||||
global.set_filename (filename);
|
||||
global.set_filename (filename);
|
||||
global.write ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user