Skip to content

Commit

Permalink
Also add "All file formats" to session open dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Feb 19, 2024
1 parent cbbc456 commit 6d34500
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gtk2_ardour/ardour_ui_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,13 @@ ARDOUR_UI::open_session ()
aaf_filter.set_name (_("Advanced Authoring Format (AAF)"));
open_session_selector.add_filter (aaf_filter);

FileFilter all_filter;
all_filter.add_pattern (string_compose(X_("*%1"), ARDOUR::statefile_suffix));
all_filter.add_pattern (string_compose(X_("*%1"), ARDOUR::session_archive_suffix));
all_filter.add_pattern (string_compose(X_("*%1"), ARDOUR::advanced_authoring_format_suffix));
all_filter.set_name (_("All supported files"));
open_session_selector.add_filter (all_filter);

open_session_selector.set_filter (session_filter);

int response = open_session_selector.run();
Expand Down

0 comments on commit 6d34500

Please sign in to comment.