From 5417ca1b12cd17ba3bcb76e684d714e7db30a9e1 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Fri, 18 Aug 2023 03:07:40 +0200 Subject: [PATCH] char editor: set data in any case also for invalid digits --- nested/src/editors/integer/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nested/src/editors/integer/editor.rs b/nested/src/editors/integer/editor.rs index 1ec37a3..b1fd83f 100644 --- a/nested/src/editors/integer/editor.rs +++ b/nested/src/editors/integer/editor.rs @@ -63,7 +63,7 @@ impl ObjCommander for DigitEditor { ]); self.msg.push(crate::diagnostics::make_error(message.get_port().flatten())); - + self.data.set(Some(c)); } else { self.data.set(Some(c)); }