diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-13 21:50:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-13 21:50:06 +0100 |
| commit | 320c20b9538c985005dc850d685eecfc1a5edc98 (patch) | |
| tree | 52f416fe4b5e5a1471abb44769c6668d0197069b /src/lib/exceptions.cc | |
| parent | b37249ba5db6bd08fdfe340cec923130ee4cc7b9 (diff) | |
Give a slightly better error whn trying to add a KDM using add-file (#1035).
Diffstat (limited to 'src/lib/exceptions.cc')
| -rw-r--r-- | src/lib/exceptions.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index 4590531b7..cf3708896 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -86,3 +86,7 @@ ProgrammingError::ProgrammingError (string file, int line) { } + +KDMAsContentError::KDMAsContentError () + : runtime_error (_("This file is a KDM. KDMs should be added to DCP content by right-clicking the content and choosing \"Add KDM\".")) +{} |
