add SessionDialog::clear_name()
This commit is contained in:
parent
0ea5344be6
commit
195245fdb0
@ -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…
Reference in New Issue
Block a user