forked from mia/Aegisub
Actually read the values from controls in automation dialogs
This commit is contained in:
parent
6308104031
commit
5462d35708
1 changed files with 1 additions and 0 deletions
|
@ -521,6 +521,7 @@ namespace Automation4 {
|
|||
auto button = new wxButton(window, id, text);
|
||||
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, [=](wxCommandEvent &evt) {
|
||||
this->button_pushed = button_pushed;
|
||||
dialog->TransferDataFromWindow();
|
||||
dialog->EndModal(0);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue