mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 12:05:38 +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()
|
||||
{
|
||||
mEditText->setTextShaping(true);
|
||||
|
||||
// Always disable text input when destroying this component.
|
||||
SDL_StopTextInput();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue