Trigger clip picker: constrain browsing to parent folders.

Allow to move up to the highest common path, but not further.
This commit is contained in:
Robin Gareus 2021-12-30 21:22:41 +01:00
parent 96c80e88ac
commit d06a70a10a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 55 additions and 2 deletions

View file

@ -19,6 +19,7 @@
#ifndef __gtk_ardour_trigger_clip_picker_h__
#define __gtk_ardour_trigger_clip_picker_h__
#include <set>
#include <string>
#include <gtkmm/box.h>
@ -90,6 +91,8 @@ private:
std::string _current_path;
std::set<std::string> _root_paths;
bool _seeking;
PBD::ScopedConnectionList _auditioner_connections;
PBD::ScopedConnection _config_connection;