Fix: Dimensions were checked even if position was not checked

This commit is contained in:
gdd 2010-06-04 13:28:39 +00:00
parent d68a9a9601
commit 2e75b6c503

View File

@ -379,7 +379,7 @@ void AdvancedGUI_PipeTShapeDlg::SetPosition(bool isChecked) {
//=================================================================================
void AdvancedGUI_PipeTShapeDlg::ValueChangedInSpinBox(double newValue)
{
if (myOkPoint1 && myOkPoint2 && myOkPoint3)
if (JunctionPointsSel->GroupBox1->isChecked() && myOkPoint1 && myOkPoint2 && myOkPoint3)
CheckCompatiblePosition(myPoint1, myPoint2, myPoint3, 0.01);
DisplayPreview();
}