mirror of https://github.com/KLayout/klayout.git
User feedback: upon entering an invalid value string into an edit box, do not reset the field
This commit is contained in:
parent
5226d69706
commit
ee9bdd8826
|
|
@ -713,9 +713,11 @@ PCellParametersPage::do_parameter_changed ()
|
|||
bool ok = true;
|
||||
db::ParameterStates states = m_states;
|
||||
get_parameters (states, &ok); // includes coerce
|
||||
update_widgets_from_states (states);
|
||||
if (ok && ! lazy_evaluation ()) {
|
||||
emit edited ();
|
||||
if (ok) {
|
||||
update_widgets_from_states (states);
|
||||
if (! lazy_evaluation ()) {
|
||||
emit edited ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue