Skip to content

Commit

Permalink
Re-enable the "Sync/Update" action of the source control menu
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombautsU committed Oct 28, 2022
1 parent 1c1349b commit f70895b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,17 +509,15 @@ void FPlasticSourceControlMenu::AddMenuExtension(FToolMenuSection& Menu)
"PlasticSync",
#endif
LOCTEXT("PlasticSync", "Sync/Update Workspace"),
// TODO: temporarily disabled since it tries to reload the whole Content, which crashes the Editor
LOCTEXT("PlasticSyncTooltip", "[Disabled/crashing] Update all files in the workspace to the latest version."),
LOCTEXT("PlasticSyncTooltip", "Update the workspace to the latest changeset of the branch, and reload all affected assets."),
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 1
FSlateIcon(FAppStyle::GetAppStyleSetName(), "SourceControl.Actions.Sync"),
#else
FSlateIcon(FEditorStyle::GetStyleSetName(), "SourceControl.Actions.Sync"),
#endif
FUIAction(
FExecuteAction::CreateRaw(this, &FPlasticSourceControlMenu::SyncProjectClicked),
// TODO: temporarily disabled since it tries to reload the whole Content, which crashes the Editor
FCanExecuteAction::CreateRaw(this, &FPlasticSourceControlMenu::False)
FCanExecuteAction()
)
);

Expand Down

0 comments on commit f70895b

Please sign in to comment.