You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #12907 from YeldhamDev/indentation_connection
Fixed signal connection dialog ignoring indentation settings when creating a function
This commit is contained in:
@@ -365,7 +365,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
|
|||||||
}
|
}
|
||||||
s += " ";
|
s += " ";
|
||||||
}
|
}
|
||||||
s += "):\n\tpass # replace with function body\n";
|
s += "):\n" + _get_indentation() + "pass # replace with function body\n";
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user