projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9370dd
)
Fix crash reported on OS X, although the actual cause is not entirely clear.
author
Carl Hetherington
<cth@carlh.net>
Mon, 21 Sep 2015 08:09:03 +0000
(09:09 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 21 Sep 2015 08:09:03 +0000
(09:09 +0100)
src/wx/audio_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_dialog.cc
b/src/wx/audio_dialog.cc
index ebe8032581df5af7363f237d0010da1b6aae6722..814dc596f628feee703d1b247a294b33ac757c39 100644
(file)
--- 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.
*/