Make spice model library contents read-only.
Fixes https://gitlab.com/kicad/code/kicad/issues/5062
This commit is contained in:
parent
93ef18d775
commit
6a5644d981
|
@ -182,6 +182,8 @@ void DIALOG_SPICE_MODEL::Init()
|
||||||
m_pwlTimeCol = m_pwlValList->AppendColumn( "Time [s]", wxLIST_FORMAT_LEFT, 100 );
|
m_pwlTimeCol = m_pwlValList->AppendColumn( "Time [s]", wxLIST_FORMAT_LEFT, 100 );
|
||||||
m_pwlValueCol = m_pwlValList->AppendColumn( "Value [V/A]", wxLIST_FORMAT_LEFT, 100 );
|
m_pwlValueCol = m_pwlValList->AppendColumn( "Value [V/A]", wxLIST_FORMAT_LEFT, 100 );
|
||||||
|
|
||||||
|
m_libraryContents->SetReadOnly( true );
|
||||||
|
|
||||||
m_sdbSizerOK->SetDefault();
|
m_sdbSizerOK->SetDefault();
|
||||||
|
|
||||||
// Hide pages that aren't fully implemented yet
|
// Hide pages that aren't fully implemented yet
|
||||||
|
|
Loading…
Reference in New Issue