+ // 3. Clear text in the label
+ myStackWidget->setCurrentIndex(1);
+ //myLabel->setText("");
+ //myLabel->setToolTip("");
+ disconnect(workshop()->selector(), SIGNAL(selectionChanged()),
+ this, SLOT(onSelectionChanged()));
+ // 4. deactivate face selection filter
+ activateFilters(false);
+
+ // 5. Clear selection mode and define sketching mode
+ //XGUI_Displayer* aDisp = workshop()->displayer();
+ //aDisp->closeLocalContexts();
+ emit planeSelected(plane());
+ // after the plane is selected in the sketch, the sketch selection should be activated
+ // it can not be performed in the sketch label widget because, we don't need to switch off
+ // the selection by any label deactivation, but need to switch it off by stop the sketch
+ activateSelection(true);
+
+ // 6. Update sketcher actions
+ XGUI_ActionsMgr* anActMgr = workshop()->actionsMgr();
+ myWorkshop->updateCommandStatus();
+ myWorkshop->viewer()->update();