char editor: set data in any case also for invalid digits

This commit is contained in:
Michael Sippel 2023-08-18 03:07:40 +02:00
parent 9af00d7294
commit 5417ca1b12
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -63,7 +63,7 @@ impl ObjCommander for DigitEditor {
]); ]);
self.msg.push(crate::diagnostics::make_error(message.get_port().flatten())); self.msg.push(crate::diagnostics::make_error(message.get_port().flatten()));
self.data.set(Some(c));
} else { } else {
self.data.set(Some(c)); self.data.set(Some(c));
} }