Eeschema: The color of the wires according to netclass is not always updated
Description
- The color of the wires according to netclass is not always updated.
- The problem occurs when deleting a network segment that disconnects a block of segments from the appropriate class.
- Correct coloring of the net can be called up using the refresh button (F5).
Steps to reproduce
vokoscreen-2020-10-15_14-05-35
KiCad Version
Application: Eeschema
Version: 5.99.0-unknown-12d21e34e~104~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.4.0-51-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCE: 6.9.1
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON