mirror of https://github.com/odrling/Aegisub
Fix use of uninitialized value that resulted in the find/replace dialog always opening as the replace dialog
Originally committed to SVN as r6155.
This commit is contained in:
parent
7c6696a53a
commit
bc640b4f94
|
@ -66,7 +66,7 @@ enum {
|
|||
|
||||
DialogSearchReplace::DialogSearchReplace(agi::Context* c, bool withReplace)
|
||||
: wxDialog(c->parent, -1, withReplace ? _("Replace") : _("Find"))
|
||||
, hasReplace(hasReplace)
|
||||
, hasReplace(withReplace)
|
||||
{
|
||||
wxSizer *FindSizer = new wxFlexGridSizer(2,2,5,15);
|
||||
FindEdit = new wxComboBox(this,-1,"",wxDefaultPosition,wxSize(300,-1),lagi_MRU_wxAS("Find"),wxCB_DROPDOWN);
|
||||
|
|
Loading…
Reference in New Issue