mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
We want to save invariant numbers also
If the number is invariant, save it below, don't prematurely exit Fixes https://gitlab.com/kicad/code/kicad/-/issues/21544
This commit is contained in:
parent
5442e5050e
commit
626e9d9d1b
@ -435,9 +435,8 @@ void DIALOG_SHIM::SaveControlState()
|
||||
|
||||
if( !key.empty() )
|
||||
{
|
||||
if( m_unitBinders.contains( win ) )
|
||||
if( m_unitBinders.contains( win ) && !m_unitBinders[ win ]->UnitsInvariant() )
|
||||
{
|
||||
if( !m_unitBinders[ win ]->UnitsInvariant() )
|
||||
dlgMap[ key ] = m_unitBinders[ win ]->GetValue();
|
||||
}
|
||||
else if( wxComboBox* combo = dynamic_cast<wxComboBox*>( win ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user