From bbd1bce0b867f2b38767cbad66e2daade41d8973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Wed, 5 Nov 2025 10:41:56 +0100 Subject: [PATCH] accept enter key along with return key when setting values --- .../PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp b/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp index fef3e41..f0fa9fd 100644 --- a/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp +++ b/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp @@ -59,7 +59,7 @@ bool SIUnitEdit::eventFilter(QObject *, QEvent *event) clearFocus(); return true; } - if(key == Qt::Key_Return) { + if(key == Qt::Key_Return || key == Qt::Key_Enter) { // use new value without prefix parseNewValue(1.0); continueEditing();