void SToolkitDisplay::OnToolkitHostingFinished( const TSharedRef< IToolkit >& DestroyingToolkit )
{
	if (DestroyingToolkit->GetEditorMode())
	{
		RemoveEditorMode( DestroyingToolkit->GetEditorMode() );
		OnInlineContentChangedDelegate.ExecuteIfBound(SNullWidget::NullWidget);
	}
	else
	{
		RemoveToolkit( DestroyingToolkit );
	}
}
void SToolkitDisplay::OnToolkitHostingStarted( const TSharedRef< IToolkit >& NewToolkit )
{
	if (NewToolkit->GetEditorMode())
	{
		AddEditorMode( NewToolkit->GetEditorMode() );
		OnInlineContentChangedDelegate.ExecuteIfBound(NewToolkit->GetInlineContent().ToSharedRef());
	}
	else
	{
		AddToolkit( NewToolkit );
	}
}