From 93b39fad2f3e653242ba78d20803450b1c29d586 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Thu, 11 Aug 2022 11:46:58 +0300
Subject: [PATCH] =?UTF-8?q?Change=20LineEdit=20secret=20character=20from?=
=?UTF-8?q?=20"*"=20to=20"=E2=80=A2".?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
doc/classes/LineEdit.xml | 4 ++--
scene/gui/line_edit.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
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;