Skip to content

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.

1 participant