Skip to content

Commit

Permalink
fixed API deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MothDoctor committed Aug 15, 2021
1 parent efad2d8 commit 1aa1792
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Source/FlowEditor/Private/Asset/FlowAssetEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ TSharedRef<SDockTab> FFlowAssetEditor::SpawnTab_Details(const FSpawnTabArgs& Arg
check(Args.GetTabId() == DetailsTab);

return SNew(SDockTab)
.Icon(FEditorStyle::GetBrush("LevelEditor.Tabs.Details"))
.Label(LOCTEXT("FlowDetailsTitle", "Details"))
[
DetailsView.ToSharedRef()
Expand All @@ -164,11 +163,10 @@ TSharedRef<SDockTab> FFlowAssetEditor::SpawnTab_Palette(const FSpawnTabArgs& Arg
check(Args.GetTabId() == PaletteTab);

return SNew(SDockTab)
.Icon(FEditorStyle::GetBrush("Kismet.Tabs.Palette"))
.Label(LOCTEXT("FlowPaletteTitle", "Palette"))
[
Palette.ToSharedRef()
];
[
Palette.ToSharedRef()
];
}

void FFlowAssetEditor::InitFlowAssetEditor(const EToolkitMode::Type Mode, const TSharedPtr<class IToolkitHost>& InitToolkitHost, UObject* ObjectToEdit)
Expand Down

0 comments on commit 1aa1792

Please sign in to comment.