Settings: Fix titlebar Close button
IDCANCEL is still sent by the native Close button in the titlebar and should still be handled.
This commit is contained in:
parent
43a2081cae
commit
971f19745b
|
@ -223,6 +223,7 @@ LRESULT CSettingConfig::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND, BOOL& /*
|
|||
ApplySettings(false);
|
||||
EndDialog(1);
|
||||
break;
|
||||
case IDCANCEL:
|
||||
case IDC_CANCEL:
|
||||
EndDialog(0);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue