Commit 68a0c51a authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Fixed GE attribute not closing correctly if dialog window open while...

QT: Fixed GE attribute not closing correctly if dialog window open while deleting the associated object in the main window.
parent 5e100042
......@@ -197,7 +197,7 @@ void AttrQtWidget::closeEvent(QCloseEvent* event)
} else {
delete attr;
}
QWidget::closeEvent(event);
event->ignore();
}
void AttrQtWidget::focusInEvent(QFocusEvent* event)
......@@ -443,4 +443,8 @@ AttrQt::~AttrQt()
delete original_data;
}
delete (AttrNavQt*)attrnav;
if (!embedded) {
delete toplevel;
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment