Bugfix: Karaoke splitting only worked on lines that were already marked dirty (autosplit lines being in that category), unless SSA mode was enabled.

Originally committed to SVN as r30.
This commit is contained in:
Niels Martin Hansen 2006-01-27 03:18:26 +00:00
parent 3ad6a9db43
commit 360746e739

View file

@ -962,7 +962,7 @@ void AudioDisplay::SetDialogue(SubtitlesGrid *_grid,AssDialogue *diag,int n) {
//////////////////
// Commit changes
void AudioDisplay::CommitChanges () {
if (!Options.AsBool(_T("Audio SSA Mode"))) {
if (!Options.AsBool(_T("Audio SSA Mode")) && !box->audioKaraoke->splitting) {
// Check if there's any need to commit
if (!NeedCommit) return;