diff --git a/gtk2_ardour/ardour_ui_session.cc b/gtk2_ardour/ardour_ui_session.cc index ed7e54e56e..0b37be1cb9 100644 --- a/gtk2_ardour/ardour_ui_session.cc +++ b/gtk2_ardour/ardour_ui_session.cc @@ -1134,6 +1134,12 @@ ARDOUR_UI::process_snapshot_session_prompter (Prompter& prompter, bool switch_to bool do_save = (snapname.length() != 0); + if (do_save && snapname == _session->snap_name ()) { + ArdourMessageDialog msg (_("The currently loaded session name cannot be used as new snapshot.\nJust save the session for this operation.")); + msg.run (); + return false; + } + if (do_save) { std::string const& illegal = Session::session_name_is_legal (snapname); if (!illegal.empty()) {