Prevent audio display from continually stealing focus when navigating subtitle lines and karaoke mode is enabled. This should fix #425.

Originally committed to SVN as r1493.
This commit is contained in:
Niels Martin Hansen 2007-08-15 22:33:38 +00:00
parent f9bfa1fc43
commit 762aa6287f

View file

@ -543,7 +543,10 @@ void AudioBox::SetKaraokeButtons() {
join = audioKaraoke->enabled && (audioKaraoke->splitting || audioKaraoke->selectionCount>=2);
split = audioKaraoke->enabled;
audioDisplay->SetFocus();
// If we set focus here, the audio display will continually steal the focus
// when navigating via the grid and karaoke is enabled. So don't.
//audioDisplay->SetFocus();
JoinButton->Enable(join);
SplitButton->Enable(split);
if (audioKaraoke->splitting) {