Add drag behavior of label as parts
Description
Parts and labels have different behaviors when dragging: the first creates a wire in some case and the second never. See the video.
simplescreenrecorder-2021-02-25_17.52.58
Propose
Also create wire in the case of drag a direct connected label.
KiCad Version
Application: KiCad Schematic Editor
Version: 5.99.0-unknown-1ac81c04e5~101~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.8.0-44-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.3.0
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
KICAD_USE_OCC=ON
KICAD_SPICE=ON