forked from mia/Aegisub
Don't set the focus on the default button in automation dialogs
This commit is contained in:
parent
ad695cf0a5
commit
eac4a9f96d
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue