mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Avoid crash when closing interpolation log display
Remark: This is a hack solving the issue, but it is not clear why it is needed
This commit is contained in:
@@ -36,7 +36,10 @@ namespace BlackGui
|
||||
}
|
||||
|
||||
CInterpolationLogDisplayDialog::~CInterpolationLogDisplayDialog()
|
||||
{ }
|
||||
{
|
||||
//! \todo KB 2018-05 this is a hack, I have no idea why I need to invalidate the parent. But without doing it, the dtor of comp_InterpolationLogDisplay is called tywice
|
||||
ui->comp_InterpolationLogDisplay->setParent(nullptr);
|
||||
}
|
||||
|
||||
void CInterpolationLogDisplayDialog::setSimulator(CSimulatorCommon *simulatorCommon)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user