Fix bug with property browser.
Coverity Scan gave bad advise. --HG-- branch : release
This commit is contained in:
parent
dce880e270
commit
b300c2a83a
|
@ -116,12 +116,6 @@ bool VFormulaPropertyEditor::eventFilter(QObject *obj, QEvent *ev)
|
|||
return QWidget::eventFilter(obj, ev);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VFormulaPropertyEditor::~VFormulaPropertyEditor()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VFormula VFormulaPropertyEditor::GetFormula() const
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user