Disable migrating library tables from a previous version
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9826
This commit is contained in:
parent
5ba215c8ea
commit
91359c047d
|
@ -32,6 +32,9 @@ DIALOG_MIGRATE_SETTINGS::DIALOG_MIGRATE_SETTINGS( SETTINGS_MANAGER* aManager ) :
|
||||||
|
|
||||||
m_btnCustomPath->SetBitmap( KiBitmap( BITMAPS::small_folder ) );
|
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();
|
m_standardButtonsOK->SetDefault();
|
||||||
GetSizer()->SetSizeHints( this );
|
GetSizer()->SetSizeHints( this );
|
||||||
Centre();
|
Centre();
|
||||||
|
@ -87,7 +90,7 @@ bool DIALOG_MIGRATE_SETTINGS::TransferDataFromWindow()
|
||||||
|
|
||||||
if( m_btnPrevVer->GetValue() )
|
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
|
// Round-trip through a wxFileName object to remove any trailing separators
|
||||||
wxFileName path( m_cbPath->GetValue(), wxEmptyString );
|
wxFileName path( m_cbPath->GetValue(), wxEmptyString );
|
||||||
|
|
Loading…
Reference in New Issue