mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 12:40:18 +02:00
Layout fix.
This commit is contained in:
parent
1bcf12ed3d
commit
a7ebcf5a96
1 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,9 @@ void MetavoxelEditor::updateValueEditor() {
|
|||
_value->setVisible(true);
|
||||
|
||||
if (!_value->layout()->isEmpty()) {
|
||||
delete _value->layout()->takeAt(0);
|
||||
QLayoutItem* item = _value->layout()->takeAt(0);
|
||||
delete item->widget();
|
||||
delete item;
|
||||
}
|
||||
|
||||
AttributePointer attribute = AttributeRegistry::getInstance()->getAttribute(selected);
|
||||
|
|
Loading…
Reference in a new issue