Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Subsystems > API/Editor/UnrealEd/Subsystems/UAssetEditorSubsystem
Syntax
TOptional< bool > bAutoRestoreAndDisableSaving
Remarks
Flag whether to disable SaveOpenAssetEditors() and enable auto-restore on RestorePreviouslyOpenAssets(). Useful e.g., to allow LayoutsMenu.cpp re-load layouts on-the-fly and reload the previously opened assets. If true, SaveOpenAssetEditors() will not save any asset editor and RestorePreviouslyOpenAssets() will automatically open them without asking the user. If false, SaveOpenAssetEditors() will not save any asset editor and RestorePreviouslyOpenAssets() will never open them. If unset, default behavior of both SaveOpenAssetEditors() and RestorePreviouslyOpenAssets().