Fix automatic mouse type selection when changing model in configuration dialogue.
This commit is contained in:
parent
1edbb679f0
commit
6447d4d91a
1 changed files with 2 additions and 1 deletions
|
|
@ -868,7 +868,8 @@ int config_dlgproc(void* hdlg, int message, INT_PARAM wParam, LONG_PARAM lParam)
|
|||
|
||||
c++;
|
||||
}
|
||||
if (mouse_valid(temp_mouse_type, temp_model))
|
||||
|
||||
if (mouse_valid(mouse_get_type(temp_mouse_type), temp_model))
|
||||
wx_sendmessage(h, WX_CB_SETCURSEL, settings_mouse_to_list[temp_mouse_type], 0);
|
||||
else
|
||||
wx_sendmessage(h, WX_CB_SETCURSEL, 0, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue