updated
This commit is contained in:
@@ -130,10 +130,16 @@ void FFLESHEditor::InitFLESHEditor(const EToolkitMode::Type Mode, const TSharedP
|
||||
// Create the command list
|
||||
CreateCommandList();
|
||||
|
||||
// Register tab spawners
|
||||
RegisterTabSpawners(GetTabManager().ToSharedRef());
|
||||
// 注册标签生成器
|
||||
TSharedRef<FTabManager> TabManagerRef = GetTabManager().ToSharedRef();
|
||||
|
||||
// Extend toolbar
|
||||
// 先取消注册任何可能存在的标签生成器,避免冲突
|
||||
UnregisterTabSpawners(TabManagerRef);
|
||||
|
||||
// 然后注册我们的标签生成器
|
||||
RegisterTabSpawners(TabManagerRef);
|
||||
|
||||
// 扩展工具栏
|
||||
ExtendToolbar();
|
||||
|
||||
// Set initialization flag
|
||||
|
Reference in New Issue
Block a user