Save user key bindings to the right place. Fixes #3773.
git-svn-id: svn://localhost/ardour2/branches/3.0@8854 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
32ab86230e
commit
4bd5287980
@ -59,11 +59,10 @@ ArdourKeyboard::setup_keybindings ()
|
|||||||
|
|
||||||
/* set up the per-user bindings path */
|
/* set up the per-user bindings path */
|
||||||
|
|
||||||
strs.push_back (Glib::get_home_dir());
|
sys::path p (user_config_directory ());
|
||||||
strs.push_back (".ardour3");
|
p /= "ardour.bindings";
|
||||||
strs.push_back ("ardour.bindings");
|
|
||||||
|
|
||||||
user_keybindings_path = Glib::build_filename (strs);
|
user_keybindings_path = p.to_string ();
|
||||||
|
|
||||||
if (Glib::file_test (user_keybindings_path, Glib::FILE_TEST_EXISTS)) {
|
if (Glib::file_test (user_keybindings_path, Glib::FILE_TEST_EXISTS)) {
|
||||||
std::pair<string,string> newpair;
|
std::pair<string,string> newpair;
|
||||||
|
Loading…
Reference in New Issue
Block a user