comma actually can be entered in number editor

This commit is contained in:
Zeno Rogue
2019-09-12 22:42:58 +02:00
parent 1a63872a44
commit a528f56a98
+1 -1
View File
@@ -695,7 +695,7 @@ namespace dialog {
keyhandler = [] (int sym, int uni) {
handleNavigation(sym, uni);
if((uni >= '0' && uni <= '9') || among(uni, '.', '+', '-', '*', '/', '^', '(', ')') || (uni >= 'a' && uni <= 'z')) {
if((uni >= '0' && uni <= '9') || among(uni, '.', '+', '-', '*', '/', '^', '(', ')', ',') || (uni >= 'a' && uni <= 'z')) {
ne.s += uni;
apply_edit();
}