Merge pull request #29941 from qarmin/redundant_code_and_others
Remove redundant code, possible NULL pointers and others
This commit is contained in:
commit
eaaff9da31
175 changed files with 467 additions and 674 deletions
|
|
@ -1931,8 +1931,6 @@ int Tree::propagate_mouse_event(const Point2i &p_pos, int x_ofs, int y_ofs, bool
|
|||
edited_col = col;
|
||||
bool on_arrow = x > col_width - cache.select_arrow->get_width();
|
||||
|
||||
bring_up_editor = false;
|
||||
|
||||
custom_popup_rect = Rect2i(get_global_position() + Point2i(col_ofs, _get_title_button_height() + y_ofs + item_h - cache.offset.y), Size2(get_column_width(col), item_h));
|
||||
|
||||
if (on_arrow || !p_item->cells[col].custom_button) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue