You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Small fixes to redundand code, copy paste bugs
This commit is contained in:
@@ -1109,6 +1109,8 @@ void ProjectSettingsEditor::drop_data_fw(const Point2 &p_point, const Variant &p
|
||||
|
||||
TreeItem *selected = input_editor->get_selected();
|
||||
TreeItem *item = input_editor->get_item_at_position(p_point);
|
||||
if (!item)
|
||||
return;
|
||||
TreeItem *target = item->get_parent() == input_editor->get_root() ? item : item->get_parent();
|
||||
|
||||
String selected_name = "input/" + selected->get_text(0);
|
||||
|
||||
Reference in New Issue
Block a user