summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textscreen/txt_inputbox.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/textscreen/txt_inputbox.c b/textscreen/txt_inputbox.c
index 7056c497..2ba08ac6 100644
--- a/textscreen/txt_inputbox.c
+++ b/textscreen/txt_inputbox.c
@@ -161,14 +161,6 @@ static void TXT_InputBoxDestructor(TXT_UNCAST_ARG(inputbox))
{
TXT_CAST_ARG(txt_inputbox_t, inputbox);
- // If we're still editing when the widget is destroyed, save the
- // value first.
-
- if (inputbox->editing)
- {
- FinishEditing(inputbox);
- }
-
free(inputbox->buffer);
}