From 3aa08c96ea12cfb86577b1accd18c1cb0d4227d5 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Sat, 25 Nov 2023 15:59:29 +0100 Subject: [PATCH] Draft: use consistent is-number string in DraftGui.py --- src/Mod/Draft/DraftGui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/DraftGui.py b/src/Mod/Draft/DraftGui.py index c31ecda3f8..bff69a0ca3 100644 --- a/src/Mod/Draft/DraftGui.py +++ b/src/Mod/Draft/DraftGui.py @@ -1158,7 +1158,7 @@ class DraftToolBar: treated as shortcuts """ - if txt[0] in "0123456789": + if txt[0] in "0123456789.,-": self.updateSnapper() return