SYMBOL_EDIT_FRAME: make UpdateMsgPanel() working.

This is a virtual method, and the default method do nothing.
Now is calls SYMBOL_EDIT_FRAME::UpdateSymbolMsgPanelInfo()
Fixes #13586
https://gitlab.com/kicad/code/kicad/issues/13586
This commit is contained in:
jean-pierre charras 2023-01-19 15:40:35 +01:00
parent b8352b07c5
commit 87975b2833
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@
* *
* Copyright (C) 2014 Jean-Pierre Charras, jp.charras at wanadoo.fr * Copyright (C) 2014 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2008 Wayne Stambaugh <stambaughw@gmail.com> * Copyright (C) 2008 Wayne Stambaugh <stambaughw@gmail.com>
* Copyright (C) 2004-2022 KiCad Developers, see AUTHORS.txt for contributors. * Copyright (C) 2004-2023 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 2017 CERN * Copyright (C) 2017 CERN
* @author Maciej Suminski <maciej.suminski@cern.ch> * @author Maciej Suminski <maciej.suminski@cern.ch>
* *
@ -242,6 +242,11 @@ public:
UpdateSymbolMsgPanelInfo(); UpdateSymbolMsgPanelInfo();
} }
void UpdateMsgPanel() override
{
UpdateSymbolMsgPanelInfo();
}
bool IsSymbolFromSchematic() const { return m_isSymbolFromSchematic; } bool IsSymbolFromSchematic() const { return m_isSymbolFromSchematic; }
bool IsSymbolFromLegacyLibrary() const; bool IsSymbolFromLegacyLibrary() const;