summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-22 16:21:28 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-22 16:21:28 +0100
commit7231634b0535c77037602c23bfb97f707421b338 (patch)
treecb44726680e5b03a817fa2795829fd263cca902b /src
parentbdbe925a467f9b7149322ad8d1c090d4c1e6d5c3 (diff)
parent016a448efc71422f6054ff9ee07f12ff4a219f32 (diff)
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src')
-rw-r--r--src/wx/audio_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc
index ebe803258..814dc596f 100644
--- a/src/wx/audio_dialog.cc
+++ b/src/wx/audio_dialog.cc
@@ -217,7 +217,7 @@ AudioDialog::content_changed (int p)
if (p == AudioContentProperty::AUDIO_STREAMS) {
try_to_load_analysis ();
} else if (p == AudioContentProperty::AUDIO_GAIN) {
- if (_playlist->content().size() == 1) {
+ if (_playlist->content().size() == 1 && _analysis) {
/* We can use a short-cut to render the effect of this
change, rather than recalculating everything.
*/