summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-08-19 17:47:33 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-08-19 17:47:33 +0300
commit7952e38104a1a6010ba1437483db2637e586fb81 (patch)
treee9d3a2dfa7481442412e540669315a716111cd08 /src/ui
parent7c51814e51a67c82391477125ddf360a8300d4e6 (diff)
UploadWidget: "Close" is a better button label
"Cancel" would imply here that changes made in the editor would be cancelled, when the opposite is true: the editor contents are saved persistently.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/uploadwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c
index 57b6b6b7..5e1ee493 100644
--- a/src/ui/uploadwidget.c
+++ b/src/ui/uploadwidget.c
@@ -149,7 +149,7 @@ void init_UploadWidget(iUploadWidget *d) {
149 iWidget *buttons = 149 iWidget *buttons =
150 makeDialogButtons_Widget((iMenuItem[]){ { "${upload.port}", 0, 0, "upload.setport" }, 150 makeDialogButtons_Widget((iMenuItem[]){ { "${upload.port}", 0, 0, "upload.setport" },
151 { "---", 0, 0, NULL }, 151 { "---", 0, 0, NULL },
152 { "${cancel}", SDLK_ESCAPE, 0, "upload.cancel" }, 152 { "${close}", SDLK_ESCAPE, 0, "upload.cancel" },
153 { uiTextAction_ColorEscape "${dlg.upload.send}", 153 { uiTextAction_ColorEscape "${dlg.upload.send}",
154 SDLK_RETURN, 154 SDLK_RETURN,
155 KMOD_PRIMARY, 155 KMOD_PRIMARY,