Update #977, this seems to fix the bug (no more crashing, it was some uinitialised iterators) but I'm not sure if the fix should be merged to trunk too.

Originally committed to SVN as r3733.
This commit is contained in:
Niels Martin Hansen 2009-10-26 21:46:50 +00:00
parent a0bfd9ff7c
commit 4be422335a
1 changed files with 2 additions and 1 deletions

View File

@ -700,6 +700,8 @@ DialogKanjiTimer::DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *_grid)
// Variables
subs = AssFile::top;
grid = _grid;
currentSourceLine = subs->Line.begin();
currentDestinationLine = subs->Line.begin();
//Sizers
wxSizer *DisplayBoxSizer = new wxStaticBoxSizer(wxVERTICAL,this,_("Text"));
@ -711,7 +713,6 @@ DialogKanjiTimer::DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *_grid)
wxSizer *BottomShelfSizer = new wxBoxSizer(wxHORIZONTAL);
wxSizer *BottomLeftStackSizer = new wxBoxSizer(wxVERTICAL);
display = new KaraokeLineMatchDisplay(this);
//Checkbox