From ba5e218ff465bf6d5244d7878cae0dbae7c4de4a Mon Sep 17 00:00:00 2001 From: Felix Ulber Date: Sun, 8 Feb 2015 20:58:03 +0100 Subject: [PATCH] DialogTool: Line Angle property not considered in ValChenged slot --HG-- branch : develop --- src/app/dialogs/tools/dialogtool.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/dialogs/tools/dialogtool.cpp b/src/app/dialogs/tools/dialogtool.cpp index 0a8d8d1b2..0f433af34 100644 --- a/src/app/dialogs/tools/dialogtool.cpp +++ b/src/app/dialogs/tools/dialogtool.cpp @@ -1078,6 +1078,15 @@ void DialogTool::ValChenged(int row) labelDescription->setText(desc); return; } + + if (radioButtonAngleLine->isChecked()) + { + QString desc = QString("%1(%2) - %3").arg(item->text()) + .arg(*data->GetVariable(qApp->VarFromUser(item->text()))->GetValue()) + .arg(tr("Line Angle")); + labelDescription->setText(desc); + return; + } } //---------------------------------------------------------------------------------------------------------------------