Fix bug with property browser.

Coverity Scan gave bad advise.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2017-04-25 14:39:08 +03:00
parent dce880e270
commit b300c2a83a
3 changed files with 2 additions and 8 deletions

View File

@ -116,12 +116,6 @@ bool VFormulaPropertyEditor::eventFilter(QObject *obj, QEvent *ev)
return QWidget::eventFilter(obj, ev);
}
//---------------------------------------------------------------------------------------------------------------------
VFormulaPropertyEditor::~VFormulaPropertyEditor()
{
//
}
//---------------------------------------------------------------------------------------------------------------------
VFormula VFormulaPropertyEditor::GetFormula() const
{

View File

@ -46,7 +46,7 @@ public:
explicit VFormulaPropertyEditor(QWidget *parent);
//! Destructor
virtual ~VFormulaPropertyEditor() Q_DECL_OVERRIDE;
virtual ~VFormulaPropertyEditor() Q_DECL_EQ_DEFAULT;
//! Returns the formula currently set
VFormula GetFormula() const;

View File

@ -233,7 +233,7 @@ void VPE::VPropertyFormWidget::commitData(int row)
}
else if (parent->propertyType() == Property::Complex)
{
parent->UpdateParent(newValue);
tmpProperty->UpdateParent(newValue);
emit propertyDataSubmitted(parent);
}
}