mirror of
https://github.com/godotengine/godot.git
synced 2024-11-13 23:52:41 +00:00
Fix error log when selecting child of Containers
This commit is contained in:
parent
d1bce5c679
commit
2fa9585bdf
@ -4076,10 +4076,9 @@ void CanvasItemEditor::_popup_warning_depop(Control *p_control) {
|
||||
ERR_FAIL_COND(!popup_temporarily_timers.has(p_control));
|
||||
|
||||
Timer *timer = popup_temporarily_timers[p_control];
|
||||
timer->queue_delete();
|
||||
p_control->hide();
|
||||
remove_child(timer);
|
||||
popup_temporarily_timers.erase(p_control);
|
||||
memdelete(timer);
|
||||
info_overlay->set_margin(MARGIN_LEFT, (show_rulers ? RULER_WIDTH : 0) + 10);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user