diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-28 19:24:30 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-28 19:24:30 +0100 |
commit | 74e4081ef422ff24343684d0eae1fe8404395c13 (patch) | |
tree | de291a091487257afb7d5039fed7d21f01c9d3d2 | |
parent | be3d8bc3d060103b242eb759ee1a5cf81631a3bf (diff) |
save users who like to suffix snapshot names some typing.
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 10be9afb5a..3befe3cb9f 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2507,7 +2507,9 @@ ARDOUR_UI::snapshot_session (bool switch_to_it) prompter.set_prompt (_("Name of new snapshot")); } - if (!switch_to_it) { + if (switch_to_it) { + prompter.set_initial_text (_session->snap_name()); + } else { char timebuf[128]; time_t n; struct tm local_time; |