|
@@ -3737,8 +3737,8 @@ void ImGui::OpenPopupEx(ImGuiID id, bool reopen_existing)
|
|
|
|
|
|
// When reopening a popup we first refocus its parent, otherwise if its parent is itself a popup it would get closed by CloseInactivePopups().
|
|
// When reopening a popup we first refocus its parent, otherwise if its parent is itself a popup it would get closed by CloseInactivePopups().
|
|
// This is equivalent to what ClosePopupToLevel() does.
|
|
// This is equivalent to what ClosePopupToLevel() does.
|
|
- if (g.OpenPopupStack[current_stack_size].PopupId == id)
|
|
|
|
- FocusWindow(parent_window);
|
|
|
|
|
|
+ //if (g.OpenPopupStack[current_stack_size].PopupId == id)
|
|
|
|
+ // FocusWindow(parent_window);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|