diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index c06118e621e..52170146984 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -221,8 +221,8 @@ If [code]true[/code], every character is replaced with the secret character (see [member secret_character]). - - The character to use to mask secret input (defaults to "*"). Only a single character can be used as the secret character. + + The character to use to mask secret input (defaults to "•"). Only a single character can be used as the secret character. If [code]false[/code], it's impossible to select the text using mouse nor keyboard. diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index a828479b0ce..4d5ebf441cd 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -95,7 +95,7 @@ private: String text; String placeholder; String placeholder_translated; - String secret_character = "*"; + String secret_character = U"•"; String ime_text; Point2 ime_selection;