From eac4a9f96df6d7463fd18c195921430247e4de02 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 27 May 2013 07:42:47 -0700 Subject: [PATCH] Don't set the focus on the default button in automation dialogs --- aegisub/src/auto4_lua_dialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/aegisub/src/auto4_lua_dialog.cpp b/aegisub/src/auto4_lua_dialog.cpp index 2a01d24e7..87dbd566b 100644 --- a/aegisub/src/auto4_lua_dialog.cpp +++ b/aegisub/src/auto4_lua_dialog.cpp @@ -526,7 +526,6 @@ namespace Automation4 { }); if (id == wxID_OK || id == wxID_YES || id == wxID_SAVE) { - button->SetFocus(); button->SetDefault(); dialog->SetAffirmativeId(id); }