InputConfigDiag: Save the configuration when pressing "OK"

This fixes a common UI complaint of the control dialog UI.
Also, don't close the dialog if we have an error with the expression.
This commit is contained in:
Jasper St. Pierre
2013-07-22 02:48:07 -04:00
parent bc17798ef2
commit f693488c8a
2 changed files with 6 additions and 6 deletions

View File

@ -89,9 +89,10 @@ public:
wxStaticBoxSizer* CreateControlChooser(GamepadPage* const parent);
virtual bool Validate();
void DetectControl(wxCommandEvent& event);
void ClearControl(wxCommandEvent& event);
void SetControl(wxCommandEvent& event);
void SetDevice(wxCommandEvent& event);
void UpdateGUI();