mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
When disabling karaoke mode during splitting, cancel the split instead of committing it.
Originally committed to SVN as r1342.
This commit is contained in:
parent
9fafcb6b81
commit
66fa8be021
@ -515,8 +515,7 @@ void AudioBox::OnKaraoke(wxCommandEvent &event) {
|
||||
if (karaokeMode) {
|
||||
wxLogDebug(_T("AudioBox::OnKaraoke: karaoke enabled, disabling"));
|
||||
if (audioKaraoke->splitting) {
|
||||
wxLogDebug(_T("AudioBox::OnKaraoke: was splitting, committing"));
|
||||
audioKaraoke->Commit(); // FIXME: the grid and editbox don't seem to get updated by this
|
||||
audioKaraoke->EndSplit(false);
|
||||
}
|
||||
karaokeMode = false;
|
||||
audioKaraoke->enabled = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user