From b4ace668debdeefc5fec0b1cecc0d9f91ef2e2c1 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 25 Oct 2011 20:28:19 +0000 Subject: [PATCH] Only display the cursor time in the audio display when it's enabled Originally committed to SVN as r5784. --- aegisub/src/audio_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/audio_display.cpp b/aegisub/src/audio_display.cpp index 84445573c..e7f1b9f17 100644 --- a/aegisub/src/audio_display.cpp +++ b/aegisub/src/audio_display.cpp @@ -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())