Eeschema: text properties: reference field autocomplete ignores first char.
This commit is contained in:
parent
90a388571e
commit
06e3e63b96
|
@ -370,7 +370,7 @@ void DIALOG_TEXT_PROPERTIES::onScintillaCharAdded( wxStyledTextEvent &aEvent )
|
||||||
|
|
||||||
if( textVarRef( refStart ) )
|
if( textVarRef( refStart ) )
|
||||||
{
|
{
|
||||||
partial = te->GetRange( start+1, text_pos );
|
partial = te->GetRange( start, text_pos );
|
||||||
|
|
||||||
wxString ref = te->GetRange( refStart, start-1 );
|
wxString ref = te->GetRange( refStart, start-1 );
|
||||||
SCH_SHEET_LIST sheets = m_frame->Schematic().GetSheets();
|
SCH_SHEET_LIST sheets = m_frame->Schematic().GetSheets();
|
||||||
|
|
Loading…
Reference in New Issue