Fix disappearing tooltip for tool place label.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-01-12 13:34:46 +02:00
parent 334983bc6e
commit b8c8c284a8

View file

@ -95,10 +95,6 @@ DialogPlaceLabel::DialogPlaceLabel(const VContainer *data, quint32 toolId, QWidg
});
vis = new VisToolSpecialPoint(data);
FormulaWidthChanged();
FormulaHeightChanged();
FormulaAngleChanged();
}
//---------------------------------------------------------------------------------------------------------------------
@ -275,6 +271,11 @@ void DialogPlaceLabel::ChosenObject(quint32 id, const SceneObject &type)
vis->VisualMode(id);
CheckPoint();
prepare = true;
FormulaWidthChanged();
FormulaHeightChanged();
FormulaAngleChanged();
this->setModal(true);
this->show();
}