Skip to content

Commit 7170fc7

Browse files
committed
BaseChannelPropertiesDialog: added ID stack entry to avoid ID hash collisions. Fixes #852.
1 parent a8d02cc commit 7170fc7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ngscopeclient/BaseChannelPropertiesDialog.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* *
33
* ngscopeclient *
44
* *
5-
* Copyright (c) 2012-2024 Andrew D. Zonenberg *
5+
* Copyright (c) 2012-2025 Andrew D. Zonenberg *
66
* All rights reserved. *
77
* *
88
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the *
@@ -68,6 +68,7 @@ bool BaseChannelPropertiesDialog::DoRender()
6868

6969
float width = 10 * ImGui::GetFontSize();
7070

71+
ImGui::PushID("info");
7172
if(ImGui::CollapsingHeader("Info"))
7273
{
7374
//Scope info
@@ -108,6 +109,7 @@ bool BaseChannelPropertiesDialog::DoRender()
108109
HelpMarker("Type of filter object");
109110
}
110111
}
112+
ImGui::PopID();
111113

112114
return true;
113115
}

0 commit comments

Comments
 (0)