mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Fixed an issue where text shaping could be permanently disabled after editing text
This commit is contained in:
parent
256ed24621
commit
b0a7e76974
|
@ -55,6 +55,8 @@ TextEditComponent::TextEditComponent(bool multiLine)
|
||||||
|
|
||||||
TextEditComponent::~TextEditComponent()
|
TextEditComponent::~TextEditComponent()
|
||||||
{
|
{
|
||||||
|
mEditText->setTextShaping(true);
|
||||||
|
|
||||||
// Always disable text input when destroying this component.
|
// Always disable text input when destroying this component.
|
||||||
SDL_StopTextInput();
|
SDL_StopTextInput();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue