From f73c129b55a461ab867a671f7a593c36b73cd793 Mon Sep 17 00:00:00 2001 From: harukalover Date: Sun, 7 Jun 2009 03:43:12 +0000 Subject: [PATCH] Made the styling assistant require a double click to select a style, this fixes issues with mistakenly selecting a style when the user is just trying to focus the assistant Originally committed to SVN as r3029. --- aegisub/src/dialog_styling_assistant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_styling_assistant.cpp b/aegisub/src/dialog_styling_assistant.cpp index 6393453a4..8743c8728 100644 --- a/aegisub/src/dialog_styling_assistant.cpp +++ b/aegisub/src/dialog_styling_assistant.cpp @@ -238,7 +238,7 @@ BEGIN_EVENT_TABLE(DialogStyling,wxDialog) EVT_BUTTON(BUTTON_PLAY_AUDIO, DialogStyling::OnPlayAudioButton) //EVT_TEXT_ENTER(ENTER_STYLE_BOX, DialogStyling::OnStyleBoxEnter) EVT_TEXT(ENTER_STYLE_BOX, DialogStyling::OnStyleBoxModified) - EVT_LISTBOX(STYLE_LIST, DialogStyling::OnListClicked) + EVT_LISTBOX_DCLICK(STYLE_LIST, DialogStyling::OnListClicked) EVT_KEY_DOWN(DialogStyling::OnKeyDown) END_EVENT_TABLE()