Fix locked module checkbox enable/disable in block dialog in pcbnew.

This commit is contained in:
Marco Mattila 2011-01-20 22:36:17 +02:00
parent b0b49df4e2
commit 907117aafe
1 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,12 @@ DIALOG_BLOCK_OPTIONS::DIALOG_BLOCK_OPTIONS( WinEDA_BasePcbFrame* aParent,
m_Include_Modules->SetValue( blockIncludeModules ); m_Include_Modules->SetValue( blockIncludeModules );
m_IncludeLockedModules->SetValue( blockIncludeLockedModules ); m_IncludeLockedModules->SetValue( blockIncludeLockedModules );
if( m_Include_Modules->GetValue() )
m_IncludeLockedModules->Enable();
else
m_IncludeLockedModules->Disable();
m_Include_Tracks->SetValue( blockIncludeTracks ); m_Include_Tracks->SetValue( blockIncludeTracks );
m_Include_Zones->SetValue( blockIncludeZones ); m_Include_Zones->SetValue( blockIncludeZones );
m_Include_Draw_Items->SetValue( blockIncludeItemsOnTechLayers ); m_Include_Draw_Items->SetValue( blockIncludeItemsOnTechLayers );