Sketcher: On reference constraint double click, change it to driving and enter edit mode
This commit is contained in:
@@ -1005,7 +1005,12 @@ void ViewProviderSketch::editDoubleClicked(void)
|
||||
Constr->Type == Sketcher::DistanceY ||
|
||||
Constr->Type == Sketcher::Radius ||
|
||||
Constr->Type == Sketcher::Angle ||
|
||||
Constr->Type == Sketcher::SnellsLaw) && Constr->isDriving ) {
|
||||
Constr->Type == Sketcher::SnellsLaw)) {
|
||||
|
||||
if(!Constr->isDriving) {
|
||||
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.setDriving(%i,%s)",
|
||||
getObject()->getNameInDocument(),*it,"True");
|
||||
}
|
||||
|
||||
// Coin's SoIdleSensor causes problems on some platform while Qt seems to work properly (#0001517)
|
||||
EditDatumDialog *editDatumDialog = new EditDatumDialog(this, *it);
|
||||
|
||||
Reference in New Issue
Block a user