Dialogs don't return correct formulas.
--HG-- branch : feature
This commit is contained in:
parent
420f2e1da7
commit
cfc2b187f6
|
@ -191,7 +191,7 @@ void DialogArc::SetF1(const QString &value)
|
|||
*/
|
||||
void DialogArc::SetRadius(const QString &value)
|
||||
{
|
||||
radius = value;
|
||||
radius = qApp->FormulaToUser(value);
|
||||
// increase height if needed.
|
||||
if (radius.length() > 80)
|
||||
{
|
||||
|
@ -443,7 +443,7 @@ quint32 DialogArc::GetCenter() const
|
|||
*/
|
||||
QString DialogArc::GetRadius() const
|
||||
{
|
||||
return radius;
|
||||
return qApp->FormulaFromUser(radius);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -453,7 +453,7 @@ QString DialogArc::GetRadius() const
|
|||
*/
|
||||
QString DialogArc::GetF1() const
|
||||
{
|
||||
return f1;
|
||||
return qApp->FormulaFromUser(f1);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -463,5 +463,5 @@ QString DialogArc::GetF1() const
|
|||
*/
|
||||
QString DialogArc::GetF2() const
|
||||
{
|
||||
return f2;
|
||||
return qApp->FormulaFromUser(f2);
|
||||
}
|
||||
|
|
|
@ -271,7 +271,7 @@ void DialogPointOfContact::setCenter(const quint32 &value)
|
|||
*/
|
||||
void DialogPointOfContact::setRadius(const QString &value)
|
||||
{
|
||||
radius = value;
|
||||
radius = qApp->FormulaToUser(value);
|
||||
// increase height if needed.
|
||||
if (radius.length() > 80)
|
||||
{
|
||||
|
@ -300,7 +300,7 @@ void DialogPointOfContact::SetPointName(const QString &value)
|
|||
*/
|
||||
QString DialogPointOfContact::getRadius() const
|
||||
{
|
||||
return radius;
|
||||
return qApp->FormulaFromUser(radius);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user