Be more selective about hiding solder mask.

This commit is contained in:
Jeff Young 2021-12-24 00:03:51 +00:00
parent 5433684d3c
commit db06693d22
1 changed files with 3 additions and 3 deletions

View File

@ -385,11 +385,11 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
connectivity->RecalculateRatsnest( this );
connectivity->ClearDynamicRatsnest();
if( frame )
{
if( frame && solderMaskDirty )
frame->HideSolderMask();
if( frame )
frame->GetCanvas()->RedrawRatsnest();
}
if( m_changes.size() > num_changes )
{