mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
add SessionDialog::clear_name()
This commit is contained in:
parent
0ea5344be6
commit
195245fdb0
2 changed files with 8 additions and 0 deletions
|
|
@ -319,6 +319,13 @@ SessionDialog::session_template_name ()
|
|||
return string();
|
||||
}
|
||||
|
||||
void
|
||||
SessionDialog::clear_name ()
|
||||
{
|
||||
recent_session_display.get_selection()->unselect_all();
|
||||
new_name_entry.set_text (string());
|
||||
}
|
||||
|
||||
std::string
|
||||
SessionDialog::session_name (bool& should_be_new)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ public:
|
|||
_provided_session_name = session_name;
|
||||
_provided_session_path = session_path;
|
||||
}
|
||||
void clear_name ();
|
||||
|
||||
private:
|
||||
bool new_only;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue