Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a judgment on the child's parent when show child #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iysheng
Copy link
Contributor

@iysheng iysheng commented Nov 29, 2023

I found a bug when there are two dialogs. dialog A has wnd tree such as:

{ &s_dialog_enter_button,>--ID_DIALOG_ENTER6666_BUTTON,>"",>926, 30, 66, 66},
{ &gs_lamp_mode_buttons[LAMP_MODE_OFF_WORK],>---ID_BUTTON_LAMP_OFF_WORK,>---"",>655, 525, 350, 75},
{NULL, 0 , 0, 0, 0, 0, 0}

and another dialog B has wnd tree such as:

{ &s_dialog_enter_button,>--ID_DIALOG_ENTER6666_BUTTON,>"",>926, 30, 66, 66},
{NULL, 0 , 0, 0, 0, 0, 0}

When I show dialog B, I can find a button with ID==ID_BUTTON_LAMP_OFF_WORK, after I check my code, I found there may has a BUG, so I do this Add a judgment on the child's parent when show child ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant