summaryrefslogtreecommitdiff
path: root/libs/ardour/iec1ppmdsp.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2013-07-19 12:04:58 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2013-07-19 12:10:41 +0100
commitbf408d60c896d1a072a353f79269ac3bc1600464 (patch)
tree259320d3b6353f8cf5569498669efd49a8ac6a5e /libs/ardour/iec1ppmdsp.cc
parent649cf189e87a9472581cd339eda6718cfd067e32 (diff)
Wrap calls to add_shortcut_folder() in try { ... } block.
Gtk::FileChooserButton::add_shortcut_folder() throws a Glib::Error exception if the folder being added already has a shortcut, causing the 'New session' dialogue to appear empty when choosing 'New...' from the Session menu. This happens if Ardour's default session folder is set to a location that has a standard shortcut in the Gtk file chooser, e.g. the user's home directory, desktop, &c. Catch the exception in ArdourStartup::setup_new_session_page(), so that the 'New session' dialogue appears as expected, and likewise in ARDOUR_UI::open_session() to avoid a similar problem there. Fixes #5591.
Diffstat (limited to 'libs/ardour/iec1ppmdsp.cc')
0 files changed, 0 insertions, 0 deletions