mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix error spam when dragging text in the script editor.
This commit is contained in:
parent
2cb2c1fb5b
commit
de3ff99398
1 changed files with 1 additions and 1 deletions
|
|
@ -3014,7 +3014,7 @@ void EditorPropertyNodePath::drop_data_fw(const Point2 &p_point, const Variant &
|
|||
}
|
||||
|
||||
bool EditorPropertyNodePath::is_drop_valid(const Dictionary &p_drag_data) const {
|
||||
if (p_drag_data["type"] != "nodes") {
|
||||
if (!p_drag_data.has("type") || p_drag_data["type"] != "nodes") {
|
||||
return false;
|
||||
}
|
||||
Array nodes = p_drag_data["nodes"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue