set the index in CVWidgetMSEditor:-indexField according to how the widget has been connected (a number or a placeholder)

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