This commit is contained in:
Jesus Baylon 2022-06-13 12:18:29 -07:00
commit a8d453e2a6

View file

@ -324,7 +324,7 @@ namespace CalculatorApp
public static void DisableShortcuts(bool disable) public static void DisableShortcuts(bool disable)
{ {
//deferredEnableShortcut is being used to prevent the mode change from happening before the user input has processed //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; s_deferredEnableShortcut = true;
} }