Correct parent symbol for lib_text
The edited symbol should be pulled from the parent window when there is not an existing text object
This commit is contained in:
parent
14f1f3ec79
commit
59fc62e898
|
@ -168,6 +168,7 @@ bool DIALOG_LIB_TEXT_PROPERTIES::TransferDataToWindow()
|
|||
{
|
||||
SYMBOL_EDITOR_SETTINGS* cfg = m_parent->GetSettings();
|
||||
auto* tools = m_parent->GetToolManager()->GetTool<SYMBOL_EDITOR_DRAWING_TOOLS>();
|
||||
symbol = m_parent->GetCurSymbol();
|
||||
|
||||
m_textSize.SetValue( schIUScale.MilsToIU( cfg->m_Defaults.text_size ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue