diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-09 15:31:17 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-09 15:31:17 +0300 |
commit | f0c3134aebd83de1712a66d59af9f2d414110f11 (patch) | |
tree | a5fed9fee4da1b60cb29ca1aa08ec4d72d456787 /src | |
parent | 3fefa6cd9a0445fb430035766951c647a3b250f4 (diff) |
InputWidget: Clear selection when text is changed
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/inputwidget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 89981bd2..8151b759 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -180,6 +180,7 @@ void setText_InputWidget(iInputWidget *d, const iString *text) { | |||
180 | iConstForEach(String, i, text) { | 180 | iConstForEach(String, i, text) { |
181 | pushBack_Array(&d->text, &i.value); | 181 | pushBack_Array(&d->text, &i.value); |
182 | } | 182 | } |
183 | iZap(d->mark); | ||
183 | refresh_Widget(as_Widget(d)); | 184 | refresh_Widget(as_Widget(d)); |
184 | } | 185 | } |
185 | 186 | ||