solved bug when loading a footprint in modedit: invisible text attribute was lost (trunk and tag)
This commit is contained in:
parent
7e8c2e7401
commit
11e5d288b8
|
@ -8,9 +8,13 @@ email address.
|
||||||
|
|
||||||
2007-Dec-06 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
|
2007-Dec-06 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
|
||||||
================================================================================
|
================================================================================
|
||||||
|
+all
|
||||||
Solved zoom key command problems (under linux and windows)
|
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)
|
(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>
|
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;
|
TEXTE_MODULE* val = m_Pcb->m_Modules->m_Value;
|
||||||
if( val && ref )
|
if( val && ref )
|
||||||
{
|
{
|
||||||
ref->m_NoShow = 0;
|
ref->m_Type = TEXT_is_REFERENCE; // just in case ...
|
||||||
val->m_NoShow = 0;
|
|
||||||
ref->m_Type = 0;
|
|
||||||
val->m_Type = 1;
|
|
||||||
if( ref->m_Text.Length() == 0 )
|
if( ref->m_Text.Length() == 0 )
|
||||||
ref->m_Text = L"Ref**";
|
ref->m_Text = L"Ref**";
|
||||||
|
val->m_Type = TEXT_is_VALUE; // just in case ...
|
||||||
if( val->m_Text.Length() == 0 )
|
if( val->m_Text.Length() == 0 )
|
||||||
val->m_Text = L"Val**";
|
val->m_Text = L"Val**";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue