summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-16 11:09:35 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-16 11:09:35 +0200
commita5a59eb664cdfb5fe37fb7d8c82d11c7008cbac7 (patch)
tree73221a4b7c0c1bf60b570cca80d2c963303d02e9 /src/ui/root.c
parent01c298520d7b6d9ad268d59a6d2a0b99c5cded78 (diff)
DocumentWidget: Paste preceding line
Added a special actions menu in the input prompt to allow the user to paste the line preceding the latest clicked link from the originating document. One use case for this is user-editable lines.
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 04586bac..780dc6e7 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -441,7 +441,7 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) {
441 return iFalse; 441 return iFalse;
442 } 442 }
443 else if (equal_Command(cmd, "focus.set")) { 443 else if (equal_Command(cmd, "focus.set")) {
444 setFocus_Widget(findWidget_App(cstr_Rangecc(range_Command(cmd, "id")))); 444 setFocus_Widget(findWidget_App(cstr_Command(cmd, "id")));
445 return iTrue; 445 return iTrue;
446 } 446 }
447 else if (equal_Command(cmd, "input.resized")) { 447 else if (equal_Command(cmd, "input.resized")) {