removed deadcode

This commit is contained in:
Juan Linietsky 2015-01-03 00:25:21 -03:00
parent 0df45672e7
commit fa7a3ac0d3

View file

@ -768,12 +768,6 @@ Control* Control::_find_control_at_pos(CanvasItem* p_node,const Point2& p_global
c->_window_sort_subwindows(); // sort them
int idx=0;
for (List<Control*>::Element *E=c->window->subwindows.front();E;E=E->next()) {
if (!E->get()->is_visible())
continue;
}
for (List<Control*>::Element *E=c->window->subwindows.back();E;E=E->prev()) {
Control *sw = E->get();