Attempt to fix GTK compile issue.
This commit is contained in:
parent
c85ef8eb69
commit
96acb12295
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue