Skip to content

Commit

Permalink
fixed registering asset toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
MothDoctor committed Aug 5, 2021
1 parent 4403621 commit 64a22ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FlowEditor/Private/FlowEditorModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void FFlowEditorModule::StartupModule()
if (FLevelEditorModule* LevelEditorModule = FModuleManager::GetModulePtr<FLevelEditorModule>(TEXT("LevelEditor")))
{
TSharedPtr<FExtender> MenuExtender = MakeShareable(new FExtender());
MenuExtender->AddToolBarExtension("Game", EExtensionHook::After, nullptr, FToolBarExtensionDelegate::CreateRaw(this, &FFlowEditorModule::CreateFlowToolbar));
MenuExtender->AddToolBarExtension("Play", EExtensionHook::After, nullptr, FToolBarExtensionDelegate::CreateRaw(this, &FFlowEditorModule::CreateFlowToolbar));
LevelEditorModule->GetToolBarExtensibilityManager()->AddExtender(MenuExtender);
}
}
Expand Down

0 comments on commit 64a22ce

Please sign in to comment.