CodeInput: fixed disappearing lines after inserting text (#7737)

This commit is contained in:
Alspb 2022-01-08 10:02:20 +00:00 committed by GitHub
parent 7d12150ee7
commit 25c00cc7e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class CodeInput(CodeNavigationBehavior, TextInput):
ntext = u'*' * len(ntext)
ntext = self._get_bbcode(ntext)
kw = self._get_line_options()
cid = u'{}\0{}\0{}'.format(ntext, self.password, kw)
cid = u'{}\0{}\0{}'.format(text, self.password, kw)
texture = Cache_get('textinput.label', cid)
if texture is None: