Skip to content

Commit

Permalink
[Sketcher] Solver message updated when toggling driving in datum dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
0penBrain authored and abdullahtahiriyo committed Jun 3, 2020
1 parent 294b753 commit eede55f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Sketcher/Gui/EditDatumDialog.cpp
Expand Up @@ -210,6 +210,8 @@ void EditDatumDialog::drivingToggled(bool state)
ui_ins_datum->labelEdit->setToLastUsedValue();
}
sketch->setDriving(ConstrNbr, !state);
if(!sketch->noRecomputes) // if noRecomputes, solve() is already done by setDriving()
sketch->solve();
}

void EditDatumDialog::datumChanged()
Expand Down

0 comments on commit eede55f

Please sign in to comment.