Add picker buttons and a cancel button to the Set Variable Town Entry dialog

Partially addresses #685
This commit is contained in:
2025-03-07 09:34:22 -05:00
committed by Celtic Minstrel
parent 18a9e343f9
commit c032307280
3 changed files with 56 additions and 53 deletions

View File

@@ -196,7 +196,7 @@ void cTilemap::attachClickHandlers(std::function<bool(cDialog&,std::string,eKeyM
matches = true;
}
} else {
if(ctrl.first.compare(0, prefix.size(), prefix)) {
if(ctrl.first.compare(0, prefix.size(), prefix) == 0) {
matches = true;
}
}