summaryrefslogtreecommitdiff
path: root/src/wx/audio_plot.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-16 16:01:58 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-16 16:01:58 +0000
commit2ccc67a0268395b1d241cb729170009feef397dd (patch)
tree2f677f3b2d85e27e8e07e3418385c17b370ed25e /src/wx/audio_plot.cc
parent3e0d0000886dc0c4aa7f9f8c9168dbdbbb99a40a (diff)
Fix erroneous reset of visible channels in audio level dialog when changing gain.
Diffstat (limited to 'src/wx/audio_plot.cc')
-rw-r--r--src/wx/audio_plot.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc
index 7ed792351..f78885772 100644
--- a/src/wx/audio_plot.cc
+++ b/src/wx/audio_plot.cc
@@ -146,7 +146,6 @@ AudioPlot::paint ()
gc->StrokePath (grid);
gc->DrawText (_("Time"), data_width, _height - _y_origin + db_label_height / 2);
-
if (_type_visible[AudioPoint::PEAK]) {
for (int c = 0; c < MAX_AUDIO_CHANNELS; ++c) {