diff --git a/pcbnew/dialogs/dialog_text_properties.cpp b/pcbnew/dialogs/dialog_text_properties.cpp index 986af26c72..8c3d8d17d5 100644 --- a/pcbnew/dialogs/dialog_text_properties.cpp +++ b/pcbnew/dialogs/dialog_text_properties.cpp @@ -236,7 +236,7 @@ void DIALOG_TEXT_PROPERTIES::OnSetFocusText( wxFocusEvent& event ) // Note that we can't do this on OSX as it tends to provoke Apple's // "[NSAlert runModal] may not be invoked inside of transaction begin/commit pair" // bug. See: https://bugs.launchpad.net/kicad/+bug/1837225 - if( m_fieldId == REFERENCE_FIELD || m_fieldId == VALUE_FIELD || m_fieldId == SHEETNAME_V ) + if( m_fpText->GetType() == FP_TEXT::TEXT_is_REFERENCE ) m_TextCtrl->Update(); #endif