Only display the cursor time in the audio display when it's enabled

Originally committed to SVN as r5784.
This commit is contained in:
Thomas Goyne 2011-10-25 20:28:19 +00:00
parent 17b9347562
commit b4ace668de

View file

@ -1104,7 +1104,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event)
}
if (!controller->IsPlaying())
SetTrackCursor(scroll_left + mousepos.x, true);
SetTrackCursor(scroll_left + mousepos.x, OPT_GET("Audio/Display/Draw/Cursor Time")->GetBool());
}
if (event.Leaving() && !controller->IsPlaying())