solved bug when loading a footprint in modedit: invisible text attribute was lost (trunk and tag)

This commit is contained in:
CHARRAS 2007-12-06 19:55:31 +00:00
parent 7e8c2e7401
commit 11e5d288b8
2 changed files with 7 additions and 5 deletions

View File

@ -8,8 +8,12 @@ email address.
2007-Dec-06 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
Solved zoom key command problems (under linux and windows)
+all
Solved zoom key command problems (under linux and windows)
(seen http://sourceforge.net/tracker/index.php?func=detail&aid=1844960&group_id=145591&atid=762476)
+pcbnew
solved bug when loading a footprint in modedit: invisible text attribute was lost (trunk and tag)
2007-Dec-4 UPDATE Dick Hollenbeck <dick@softplc.com>

View File

@ -356,12 +356,10 @@ void WinEDA_ModuleEditFrame::Process_Special_Functions( wxCommandEvent& event )
TEXTE_MODULE* val = m_Pcb->m_Modules->m_Value;
if( val && ref )
{
ref->m_NoShow = 0;
val->m_NoShow = 0;
ref->m_Type = 0;
val->m_Type = 1;
ref->m_Type = TEXT_is_REFERENCE; // just in case ...
if( ref->m_Text.Length() == 0 )
ref->m_Text = L"Ref**";
val->m_Type = TEXT_is_VALUE; // just in case ...
if( val->m_Text.Length() == 0 )
val->m_Text = L"Val**";
}