mirror of https://github.com/odrling/Aegisub
Don't set the focus on the default button in automation dialogs
This commit is contained in:
parent
ad695cf0a5
commit
eac4a9f96d
|
@ -526,7 +526,6 @@ namespace Automation4 {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (id == wxID_OK || id == wxID_YES || id == wxID_SAVE) {
|
if (id == wxID_OK || id == wxID_YES || id == wxID_SAVE) {
|
||||||
button->SetFocus();
|
|
||||||
button->SetDefault();
|
button->SetDefault();
|
||||||
dialog->SetAffirmativeId(id);
|
dialog->SetAffirmativeId(id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue