Kaydet (Commit) a0839a85 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

Fix VclPtr issue in rptui::ONavigator

Window ( 7VclVBox()) with live children destroyed:
N5rptui13NavigatorTreeE()

Change-Id: I974f73afd7dd259135d9bfcd47dd6bc8e7cc0d40
üst 9f87ccc8
......@@ -911,6 +911,12 @@ void ONavigator::GetFocus()
m_pImpl->m_pNavigatorTree->GrabFocus();
}
void ONavigator::dispose()
{
m_pImpl->m_pNavigatorTree.disposeAndClear();
FloatingWindow::dispose();
}
} // rptui
......
......@@ -38,6 +38,7 @@ namespace rptui
// window
virtual void GetFocus() override;
virtual void dispose() override;
};
} // namespace rptui
......
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