Opened 5 years ago
Closed 4 years ago
#775 closed defect (fixed)
Auto4 configuration dialog: floatedit does not display default value
| Reported by: | ai-chan | Owned by: | nielsm |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1.7 |
| Component: | Scripting | Version: | 2.1.2 |
| Severity: | minor | Keywords: | auto3 lua |
| Cc: | Platform: | All | |
| Sub Component: |
Description
Floatedit control in auto4 script's configuration dialog does not display default value set in the dialog control table.
Possible fix:
in http://svn.aegisub.net/trunk/aegisub/auto4_lua_dialog.cpp, Automation4::FloatEdit::Create(wxWindow *parent)
line:
cw = new wxTextCtrl(parent, -1, text, wxDefaultPosition, wxDefaultSize, 0);
should be:
cw = new wxTextCtrl(parent, -1, value, wxDefaultPosition, wxDefaultSize, 0);
Change History (6)
comment:1 Changed 5 years ago by ai-chan
comment:2 Changed 5 years ago by nielsm
- Owner set to nielsm
- Status changed from new to assigned
comment:3 Changed 5 years ago by nielsm
Should be fixed in SVN r2335, but don't have a test case so I can close the bug.
comment:4 Changed 4 years ago by nielsm
- Milestone changed from 2.1.2 to 2.2.0
- Platform set to All
comment:5 Changed 4 years ago by nielsm
comment:6 Changed 4 years ago by nielsm
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.

You might have to use wxString::Format() on the "value" variable ...