summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-22 01:14:02 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-22 01:14:02 +0100
commit458f1c6a79e472d0d482f572c701c0b2b6d3fd41 (patch)
tree1c119f2518ffe63b06ec315907744c4b8f44a35c
parentfb16d3932b49957672b5da3ced016186c926de9b (diff)
Correctly set up crop in the viewer when reloading a film.
-rw-r--r--ChangeLog3
-rw-r--r--src/wx/film_viewer.cc1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cc348b21e..293cb5d15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
and add a note of how many J2K frames
have already been encoded.
+ * Correctly set up crop in the viewer
+ on reloading a film.
+
2012-09-18 Carl Hetherington <cth@carlh.net>
* Fix non-working removal of encode servers.
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 8398b8162..56f20449b 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -237,6 +237,7 @@ FilmViewer::set_film (Film* f)
}
_film->Changed.connect (sigc::mem_fun (*this, &FilmViewer::film_changed));
+ film_changed (Film::CROP);
film_changed (Film::THUMBS);
_thumb_panel->refresh ();
setup_visibility ();