Make spice model library contents read-only.

Fixes https://gitlab.com/kicad/code/kicad/issues/5062
This commit is contained in:
Jeff Young 2020-08-22 15:44:13 +01:00
parent 93ef18d775
commit 6a5644d981
1 changed files with 2 additions and 0 deletions

View File

@ -182,6 +182,8 @@ void DIALOG_SPICE_MODEL::Init()
m_pwlTimeCol = m_pwlValList->AppendColumn( "Time [s]", wxLIST_FORMAT_LEFT, 100 );
m_pwlValueCol = m_pwlValList->AppendColumn( "Value [V/A]", wxLIST_FORMAT_LEFT, 100 );
m_libraryContents->SetReadOnly( true );
m_sdbSizerOK->SetDefault();
// Hide pages that aren't fully implemented yet