X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_directory.cc;h=c52fe1aeb5c30e72389f8ac348fa643a818caae3;hb=9bf40bde3aed831791108bfccc4b1e10b071afdc;hp=ab6d4a56dc6f373f87f01ce4da8f5164831843e8;hpb=9fa4d3c77fca18ed767c5c7d365c65d06b7efc5b;p=ardour.git diff --git a/libs/ardour/session_directory.cc b/libs/ardour/session_directory.cc index ab6d4a56dc..c52fe1aeb5 100644 --- a/libs/ardour/session_directory.cc +++ b/libs/ardour/session_directory.cc @@ -24,12 +24,13 @@ #include "pbd/error.h" #include "pbd/compose.h" #include "pbd/file_utils.h" +#include "pbd/openuri.h" #include "ardour/directory_names.h" #include "ardour/session_directory.h" #include "ardour/utils.h" -#include "i18n.h" +#include "pbd/i18n.h" namespace ARDOUR { @@ -162,6 +163,7 @@ SessionDirectory::sources_root () const root_cache[m_root_path] = Glib::build_filename (sources_root_path, entries.front()); } else if (entries.size() > 1) { + PBD::open_folder (sources_root_path); PBD::fatal << string_compose (_("The session's interchange dir is tainted.\nThere is more than one folder in '%1'.\nPlease remove extra subdirs to reduce possible filename ambiguties."), sources_root_path) << endmsg; assert (0); // not reached }