Add forgotten fix

This commit is contained in:
jean-pierre charras 2022-01-02 15:08:09 +01:00
parent 797de9d327
commit e6087f361a
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
*
* Copyright (C) 2016 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2015 Wayne Stambaugh <stambaughw@gmail.com>
* Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -618,7 +618,7 @@ SCH_LABEL_BASE::SCH_LABEL_BASE( const VECTOR2I& aPos, const wxString& aText, KIC
m_isDangling( true )
{
SetMultilineAllowed( false );
SetFieldsAutoplaced();
ClearFieldsAutoplaced(); // fiels are not yet autoplaced.
}