Attempt to fix GTK compile issue.

This commit is contained in:
Jeff Young 2020-11-25 23:07:49 +00:00
parent c85ef8eb69
commit 96acb12295
1 changed files with 1 additions and 1 deletions

View File

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