forked from mia/Aegisub
Add accelerators to more stuff in the find/replace dialog
This commit is contained in:
parent
e15ef04b72
commit
dd325acd81
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ DialogSearchReplace::DialogSearchReplace(agi::Context* c, bool replace)
|
||||||
left_sizer->Add(find_sizer, wxSizerFlags().DoubleBorder(wxBOTTOM));
|
left_sizer->Add(find_sizer, wxSizerFlags().DoubleBorder(wxBOTTOM));
|
||||||
left_sizer->Add(options_sizer);
|
left_sizer->Add(options_sizer);
|
||||||
|
|
||||||
wxString field[] = { _("Text"), _("Style"), _("Actor"), _("Effect") };
|
wxString field[] = { _("&Text"), _("St&yle"), _("A&ctor"), _("&Effect") };
|
||||||
wxString affect[] = { _("All rows"), _("Selected rows") };
|
wxString affect[] = { _("A&ll rows"), _("Selected &rows") };
|
||||||
auto limit_sizer = new wxBoxSizer(wxHORIZONTAL);
|
auto limit_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
limit_sizer->Add(new wxRadioBox(this, -1, _("In Field"), wxDefaultPosition, wxDefaultSize, countof(field), field, 0, wxRA_SPECIFY_COLS, MakeEnumBinder(&settings->field)), wxSizerFlags().Border(wxRIGHT));
|
limit_sizer->Add(new wxRadioBox(this, -1, _("In Field"), wxDefaultPosition, wxDefaultSize, countof(field), field, 0, wxRA_SPECIFY_COLS, MakeEnumBinder(&settings->field)), wxSizerFlags().Border(wxRIGHT));
|
||||||
limit_sizer->Add(new wxRadioBox(this, -1, _("Limit to"), wxDefaultPosition, wxDefaultSize, countof(affect), affect, 0, wxRA_SPECIFY_COLS, MakeEnumBinder(&settings->limit_to)));
|
limit_sizer->Add(new wxRadioBox(this, -1, _("Limit to"), wxDefaultPosition, wxDefaultSize, countof(affect), affect, 0, wxRA_SPECIFY_COLS, MakeEnumBinder(&settings->limit_to)));
|
||||||
|
|
Loading…
Reference in a new issue