summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-21 01:47:22 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-21 01:47:22 +0100
commit11c07c6fd98620c859c7d3dcf6a4bbf6a05e567e (patch)
treed25e61214ab447b2481a5dd5be733ffc1208ee88 /src/wx
parent402aeb2d6301503f83f7912147b2d2ebe02354f5 (diff)
Give an error if 2D content is set to 3D (#1565). Also run
3D tests with more parallel jobs to speed them up.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 7994601ea..9623aef79 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -239,7 +239,11 @@ FilmViewer::get ()
_player_video.first->eyes() != EYES_BOTH
);
- _butler->rethrow ();
+ try {
+ _butler->rethrow ();
+ } catch (DecodeError& e) {
+ error_dialog (_video_view->get(), e.what());
+ }
display_player_video ();
}