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:
Seth Hillbrand 2023-03-03 12:39:07 -08:00
parent 14f1f3ec79
commit 59fc62e898
1 changed files with 1 additions and 0 deletions

View File

@ -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 ) );