Commit 11e5d288 authored by CHARRAS's avatar CHARRAS

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

parent 7e8c2e74
......@@ -8,9 +8,13 @@ email address.
2007-Dec-06 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+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>
================================================================================
......
......@@ -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**";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment