Eeschema: text properties: reference field autocomplete ignores first char.

This commit is contained in:
Paweł Płóciennik 2023-02-10 20:09:15 +01:00 committed by dsa-t
parent 90a388571e
commit 06e3e63b96
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ void DIALOG_TEXT_PROPERTIES::onScintillaCharAdded( wxStyledTextEvent &aEvent )
if( textVarRef( refStart ) )
{
partial = te->GetRange( start+1, text_pos );
partial = te->GetRange( start, text_pos );
wxString ref = te->GetRange( refStart, start-1 );
SCH_SHEET_LIST sheets = m_frame->Schematic().GetSheets();