PROPERTIES_FRAME: fixes a focus issue (perhaps Windows specific).

This commit is contained in:
jean-pierre charras 2024-03-06 13:06:22 +01:00
parent 5ac8449e1f
commit 9de9f921bc

View File

@ -2,7 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application. * This program source code file is part of KiCad, a free EDA CAD application.
* *
* Copyright (C) 2013 CERN * Copyright (C) 2013 CERN
* Copyright (C) 2021-2023 KiCad Developers, see AUTHORS.txt for contributors. * Copyright (C) 2021-2024 KiCad Developers, see AUTHORS.txt for contributors.
* @author Jean-Pierre Charras, jp.charras at wanadoo.fr * @author Jean-Pierre Charras, jp.charras at wanadoo.fr
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -635,6 +635,7 @@ void PROPERTIES_FRAME::onScintillaCharAdded( wxStyledTextEvent &aEvent )
void PROPERTIES_FRAME::onScintillaFocusLost( wxFocusEvent& aEvent ) void PROPERTIES_FRAME::onScintillaFocusLost( wxFocusEvent& aEvent )
{ {
m_stcText->AutoCompCancel(); m_stcText->AutoCompCancel();
aEvent.Skip();
} }