Fix finding session templates

Session templates are directories: use find_paths_matching_filter() rather
that find_files_matching_filter() to search for them. Fix a tiny comment
typo I spotted along the way too.
This commit is contained in:
Colin Fletcher 2014-09-22 13:21:14 +01:00
parent 5c7d6ae004
commit 45fd3593eb
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ SessionDialog::SessionDialog (bool require_new, const std::string& session_name,
get_vbox()->show_all ();
/* fill data models and how/hide accordingly */
/* fill data models and show/hide accordingly */
populate_session_templates ();