diff --git a/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp b/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp index beeb825..fef3e41 100644 --- a/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp +++ b/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp @@ -146,6 +146,10 @@ void SIUnitEdit::setValueQuiet(double value) { _value = value; setPlaceholderText(Unit::ToString(value, unit, prefixes, precision)); + if(!text().isEmpty()) { + // currently editing, update the text as well + continueEditing(); + } } void SIUnitEdit::parseNewValue(double factor)