DialogTool: Line Angle property not considered in ValChenged slot

--HG--
branch : develop
This commit is contained in:
Felix Ulber 2015-02-08 20:58:03 +01:00
parent 77a24bba0b
commit ba5e218ff4

View File

@ -1078,6 +1078,15 @@ void DialogTool::ValChenged(int row)
labelDescription->setText(desc); labelDescription->setText(desc);
return; return;
} }
if (radioButtonAngleLine->isChecked())
{
QString desc = QString("%1(%2) - %3").arg(item->text())
.arg(*data->GetVariable<VLineAngle>(qApp->VarFromUser(item->text()))->GetValue())
.arg(tr("Line Angle"));
labelDescription->setText(desc);
return;
}
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------