|
@@ -2374,7 +2374,6 @@ void Viewport::_gui_remove_from_modal_stack(List<Control *>::Element *MI, Object
|
|
List<Control *>::Element *next = MI->next();
|
|
List<Control *>::Element *next = MI->next();
|
|
|
|
|
|
gui.modal_stack.erase(MI);
|
|
gui.modal_stack.erase(MI);
|
|
- MI = NULL;
|
|
|
|
|
|
|
|
if (p_prev_focus_owner) {
|
|
if (p_prev_focus_owner) {
|
|
|
|
|