summaryrefslogtreecommitdiff
path: root/libs/ardour/session_directory.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-12-18 17:46:08 +0100
committerRobin Gareus <robin@gareus.org>2015-12-18 17:46:08 +0100
commitec9a8f022c8fad38a82b78823e6158676f621a34 (patch)
treee16796057cbef3b29678783fe11c321f79eadc0b /libs/ardour/session_directory.cc
parent6e7ce525f71077bd6167abec41a611db675c4026 (diff)
open Finder/Explorer/File-manager in case of session-dir ambiguity.
Diffstat (limited to 'libs/ardour/session_directory.cc')
-rw-r--r--libs/ardour/session_directory.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_directory.cc b/libs/ardour/session_directory.cc
index ab6d4a56dc..693bee2a1c 100644
--- a/libs/ardour/session_directory.cc
+++ b/libs/ardour/session_directory.cc
@@ -24,6 +24,7 @@
#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"
@@ -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_uri (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
}