Skip to content

Commit e8ea8d7

Browse files
committed
Fixed asset not getting dirtied when using Reverse Text action.
1 parent f0bb573 commit e8ea8d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Source/TextAssetEditor/Private/AssetTools/TextAssetActions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ void FTextAssetActions::GetActions(const TArray<UObject*>& InObjects, FMenuBuild
4747
{
4848
TextAsset->Text = FText::FromString(TextAsset->Text.ToString().Reverse());
4949
TextAsset->PostEditChange();
50+
TextAsset->MarkPackageDirty();
5051
}
5152
}
5253
}),

0 commit comments

Comments
 (0)