mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[KBM] Distinguish numpad keys (#28097)
This commit is contained in:
@@ -27,7 +27,7 @@ DWORD KeyDropDownControl::GetSelectedValue(ComboBox comboBox)
|
||||
}
|
||||
|
||||
auto value = winrt::unbox_value<hstring>(dataContext);
|
||||
return stoi(std::wstring(value));
|
||||
return stoul(std::wstring(value));
|
||||
}
|
||||
|
||||
void KeyDropDownControl::SetSelectedValue(std::wstring value)
|
||||
|
||||
Reference in New Issue
Block a user