Fixed event handling in styles manager.

Originally committed to SVN as r930.
This commit is contained in:
Rodrigo Braz Monteiro 2007-02-07 16:39:05 +00:00
parent dc803725bf
commit 63ad2baf5d
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ DialogStyleManager::DialogStyleManager (wxWindow *parent,SubtitlesGrid *_grid)
LoadCurrentStyles(AssFile::top);
//Set key handlers for lists
StorageList->SetEventHandler(new DialogStyleManagerEvent(this));
CurrentList->SetEventHandler(new DialogStyleManagerEvent(this));
StorageList->PushEventHandler(new DialogStyleManagerEvent(this));
CurrentList->PushEventHandler(new DialogStyleManagerEvent(this));
// Select default item
wxString selected_style;