From b8c344145e0ab6e7de9a5f49d7283e57f4a565f6 Mon Sep 17 00:00:00 2001 From: riverwanderer <58135975+riverwanderer@users.noreply.github.com> Date: Mon, 18 Sep 2023 06:40:38 +0100 Subject: [PATCH] Refresh hotkeys - pre as well as post. Opt-in checkbox. --- vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java b/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java index 2732d539b8..c2bd235aca 100644 --- a/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java +++ b/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java @@ -2663,7 +2663,7 @@ else if (c instanceof PrototypeDefinition) { private boolean checkString(String target, String searchString) { if (searchParameters.isMatchRegex()) { // patch search string to avoid exception when Regex starts with * only - if (searchString.substring(0, 1) == "*") { + if (searchString.substring(0, 1).equals("*")) { searchString = "." + searchString; } if (searchParameters.isMatchCase()) {