onepad: repopulate option at the init

CID 159402
This commit is contained in:
Gregory Hainaut 2016-03-28 17:46:03 +02:00
parent 8dee7daeb9
commit b42ddba13c
2 changed files with 3 additions and 1 deletions

View File

@ -139,6 +139,8 @@ GamepadConfiguration::GamepadConfiguration(int pad, wxWindow *parent) : wxFrame(
wxCommandEventHandler(GamepadConfiguration::OnCheckboxChange)
);
#endif
repopulate();
}
/**

View File

@ -38,7 +38,7 @@ class GamepadConfiguration : public wxFrame
wxCheckBox *m_cb_rumble, *m_cb_hack_sixaxis_usb, *m_cb_hack_sixaxis_pressure;
wxSlider *m_sl_rumble_intensity, *m_sl_joystick_sensibility;
wxButton *m_bt_ok, *m_bt_cancel;
wxStaticText *m_lbl_rumble_intensity, *m_lbl_joystick_sensibility;
wxStaticText *m_lbl_rumble_intensity;
int m_pad_id;
u32 m_init_rumble_intensity, m_init_joystick_sensibility;