Remove a double addition of a single button to the kanji timer dialog.

Originally committed to SVN as r3249.
This commit is contained in:
Thomas Goyne 2009-07-24 02:06:15 +00:00
parent f59dcf19f6
commit f81b147031

View file

@ -760,7 +760,6 @@ DialogKanjiTimer::DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *_grid)
// Button sizer // Button sizer
wxStdDialogButtonSizer *buttonSizer = new wxStdDialogButtonSizer(); wxStdDialogButtonSizer *buttonSizer = new wxStdDialogButtonSizer();
buttonSizer->AddButton(CloseKT);
buttonSizer->AddButton(new HelpButton(this,_T("Kanji Timer"))); buttonSizer->AddButton(new HelpButton(this,_T("Kanji Timer")));
buttonSizer->SetAffirmativeButton(CloseKT); buttonSizer->SetAffirmativeButton(CloseKT);
buttonSizer->Realize(); buttonSizer->Realize();