mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Fix issue #1782
This commit is contained in:
parent
54c67a4f9e
commit
a8d453e2a6
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ namespace CalculatorApp
|
|||
public static void DisableShortcuts(bool disable)
|
||||
{
|
||||
//deferredEnableShortcut is being used to prevent the mode change from happening before the user input has processed
|
||||
if (s_keyHandlerCount > && !disable)
|
||||
if (s_keyHandlerCount > 0 && !disable)
|
||||
{
|
||||
s_deferredEnableShortcut = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue