You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Level Editor Menu Clean Up, Part 2
#JIRA UETOOL-3039 #rb Lauren.Barnes #lockdown Simon.Tourangeau #preflight 606d2c11dc3e5b0001c915aa #ROBOMERGE-OWNER: louise.rasmussen #ROBOMERGE-AUTHOR: louise.rasmussen #ROBOMERGE-SOURCE: CL 15937971 in //UE5/Release-5.0-EarlyAccess/... #ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533) #ROBOMERGE-CONFLICT from-shelf [CL 15938452 by louise rasmussen in ue5-main branch]
This commit is contained in:
@@ -158,24 +158,7 @@ void FMainMenu::RegisterEditMenu()
|
||||
}
|
||||
}));
|
||||
|
||||
Section.AddDynamicEntry("SourceControlDyn", FNewToolMenuSectionDelegate::CreateLambda([](FToolMenuSection& InSection)
|
||||
{
|
||||
if (ISourceControlModule::Get().IsEnabled() && ISourceControlModule::Get().GetProvider().IsAvailable())
|
||||
{
|
||||
// Choose specific files to submit
|
||||
InSection.AddMenuEntry(FMainFrameCommands::Get().ViewChangelists,
|
||||
TAttribute<FText>(),
|
||||
TAttribute<FText>(),
|
||||
FSlateIcon(FEditorStyle::GetStyleSetName(), "SourceControl.ChangelistsTab"));
|
||||
}
|
||||
else
|
||||
{
|
||||
InSection.AddMenuEntry(FMainFrameCommands::Get().ConnectToSourceControl,
|
||||
TAttribute<FText>(),
|
||||
TAttribute<FText>(),
|
||||
FSlateIcon(FEditorStyle::GetStyleSetName(), "SourceControl.Actions.Connect"));
|
||||
}
|
||||
}));
|
||||
Section.AddMenuEntry(FMainFrameCommands::Get().ConnectToSourceControl);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,7 +201,7 @@ void FMainMenu::RegisterWindowMenu()
|
||||
// Make sure at least one is enabled before creating the section
|
||||
if (bLocalizationDashboard || bTranslationPicker)
|
||||
{
|
||||
FToolMenuSection& Section = Menu->AddSection("ExperimentalTabSpawners", LOCTEXT("ExperimentalTabSpawnersHeading", "Experimental"), FToolMenuInsert("WindowGlobalTabSpawners", EToolMenuInsertType::After));
|
||||
FToolMenuSection& Section = Menu->AddSection("ExperimentalTabSpawners", LOCTEXT("ExperimentalTabSpawnersHeading", "Experimental"), FToolMenuInsert("WindowLayout", EToolMenuInsertType::Before));
|
||||
{
|
||||
// Localization Dashboard
|
||||
if (bLocalizationDashboard)
|
||||
|
||||
Reference in New Issue
Block a user