mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-17 01:04:19 +00:00
Docking: Fixed DockNodeBeginAmendTabBar() asserting on first call since ef8ff1b
This commit is contained in:
parent
83c4336828
commit
4521dec85d
1 changed files with 2 additions and 0 deletions
|
|
@ -16746,6 +16746,8 @@ bool ImGui::DockNodeBeginAmendTabBar(ImGuiDockNode* node)
|
|||
return false;
|
||||
if (node->MergedFlags & ImGuiDockNodeFlags_KeepAliveOnly)
|
||||
return false;
|
||||
if (node->TabBar->ID == 0)
|
||||
return false;
|
||||
Begin(node->HostWindow->Name);
|
||||
PushOverrideID(node->ID);
|
||||
bool ret = BeginTabBarEx(node->TabBar, node->TabBar->BarRect, node->TabBar->Flags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue