diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-25 07:21:06 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-25 07:21:06 +0300 |
commit | 5bbc55ec38683a27d70145f7a4d48b763fbf51f5 (patch) | |
tree | 91cfd6baa8eed6e4f1f6049c9232904fb4632252 /src/ui/inputwidget.c | |
parent | a9f42435aa4b1bb559771548895328668b396ee3 (diff) |
UploadWidget: Fixes and improvements
Fixed update after undo. Line wrap long destination URLs. Don't open a new upload dialog if one is already open.
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index bdce102a..9fbc8529 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -651,8 +651,9 @@ static iBool popUndo_InputWidget_(iInputWidget *d) { | |||
651 | splitToLines_(&undo->text, &d->lines); | 651 | splitToLines_(&undo->text, &d->lines); |
652 | d->cursor = undo->cursor; | 652 | d->cursor = undo->cursor; |
653 | deinit_InputUndo_(undo); | 653 | deinit_InputUndo_(undo); |
654 | popBack_Array(&d->undoStack); | 654 | popBack_Array(&d->undoStack); |
655 | iZap(d->mark); | 655 | iZap(d->mark); |
656 | updateAllLinesAndResizeHeight_InputWidget_(d); | ||
656 | return iTrue; | 657 | return iTrue; |
657 | } | 658 | } |
658 | return iFalse; | 659 | return iFalse; |