mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[glass] Ensure NetworkTableTree parent context menu has an id (#3015)
This commit is contained in:
@@ -509,7 +509,7 @@ static void EmitParentContextMenu(const std::string& path,
|
||||
// Workaround https://github.com/ocornut/imgui/issues/331
|
||||
bool openWarningPopup = false;
|
||||
static char nameBuffer[kTextBufferSize];
|
||||
if (ImGui::BeginPopupContextItem()) {
|
||||
if (ImGui::BeginPopupContextItem(path.c_str())) {
|
||||
ImGui::Text("%s", path.c_str());
|
||||
ImGui::Separator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user