mirror of https://github.com/odrling/Aegisub
Actually read the values from controls in automation dialogs
This commit is contained in:
parent
6308104031
commit
5462d35708
|
@ -521,6 +521,7 @@ namespace Automation4 {
|
||||||
auto button = new wxButton(window, id, text);
|
auto button = new wxButton(window, id, text);
|
||||||
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, [=](wxCommandEvent &evt) {
|
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, [=](wxCommandEvent &evt) {
|
||||||
this->button_pushed = button_pushed;
|
this->button_pushed = button_pushed;
|
||||||
|
dialog->TransferDataFromWindow();
|
||||||
dialog->EndModal(0);
|
dialog->EndModal(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue