diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2017-11-13 17:45:13 -0200 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2017-11-13 17:45:13 -0200 |
commit | 3fac4ef336c3846f423a6243f34e8d9d6eeac85e (patch) | |
tree | d018c6383480255073cb04e98a095b656bdc2521 /modules/gdscript | |
parent | f6232efed99d8190864564a0886764d88e2a58dc (diff) |
Fixed signal connection dialog ignoring indentation settings when creating a function.
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gd_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index 346b7d326a..655e785174 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -365,7 +365,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na } s += " "; } - s += "):\n\tpass # replace with function body\n"; + s += "):\n" + _get_indentation() + "pass # replace with function body\n"; return s; } |