Better cohtml values parsing

This commit is contained in:
SDraw 2024-04-27 19:53:36 +03:00
parent 85925a7072
commit d91fe1515e
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
10 changed files with 94 additions and 95 deletions

View file

@ -129,9 +129,9 @@ namespace ml_prm
{
try
{
if(p_newValue is KeyCode)
if(p_newValue is KeyCode code)
{
HotkeyKey = (KeyCode)p_newValue;
HotkeyKey = code;
OnHotkeyKeyChanged.Invoke(HotkeyKey);
}
}