Disable migrating library tables from a previous version

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9826
This commit is contained in:
Jon Evans 2021-12-05 13:45:34 -05:00
parent 5ba215c8ea
commit 91359c047d
1 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@ DIALOG_MIGRATE_SETTINGS::DIALOG_MIGRATE_SETTINGS( SETTINGS_MANAGER* aManager ) :
m_btnCustomPath->SetBitmap( KiBitmap( BITMAPS::small_folder ) );
// Disabled for now. See https://gitlab.com/kicad/code/kicad/-/issues/9826
m_cbCopyLibraryTables->Hide();
m_standardButtonsOK->SetDefault();
GetSizer()->SetSizeHints( this );
Centre();
@ -87,7 +90,7 @@ bool DIALOG_MIGRATE_SETTINGS::TransferDataFromWindow()
if( m_btnPrevVer->GetValue() )
{
m_manager->SetMigrateLibraryTables( m_cbCopyLibraryTables->GetValue() );
m_manager->SetMigrateLibraryTables( false );
// Round-trip through a wxFileName object to remove any trailing separators
wxFileName path( m_cbPath->GetValue(), wxEmptyString );