CVWidget2D: fix connecting and disconnecting sliders

Signed-off-by:  <st9fan@gmail.com>