projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af68076
)
Don't terminate if a non-DCP directory is given to Open.
author
Carl Hetherington
<cth@carlh.net>
Sun, 2 Aug 2020 21:31:59 +0000
(23:31 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 2 Aug 2020 21:31:59 +0000
(23:31 +0200)
src/tools/dcpomatic_player.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_player.cc
b/src/tools/dcpomatic_player.cc
index 17f6526257c2a01e6e4d03b5c824d969e2ddb367..11f4bfaa7a4fd9107aff49a383047962273972ba 100644
(file)
--- a/
src/tools/dcpomatic_player.cc
+++ b/
src/tools/dcpomatic_player.cc
@@
-423,6
+423,8
@@
public:
#endif
} catch (dcp::ReadError& e) {
error_dialog (this, wxString::Format(_("Could not load a DCP from %s"), std_to_wx(dir.string())), std_to_wx(e.what()));
+ } catch (DCPError& e) {
+ error_dialog (this, wxString::Format(_("Could not load a DCP from %s"), std_to_wx(dir.string())), std_to_wx(e.what()));
}
}