summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index a789a759..53eb06bd 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -145,6 +145,9 @@ void init_DocumentWidget(iDocumentWidget *d) {
145 { "Copy", 'c', KMOD_PRIMARY, "copy" }, 145 { "Copy", 'c', KMOD_PRIMARY, "copy" },
146 { "Copy Link", 0, 0, "document.copylink" } }, 146 { "Copy Link", 0, 0, "document.copylink" } },
147 6); 147 6);
148#if !defined (iPlatformApple) /* in system menu */
149 addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close");
150#endif
148} 151}
149 152
150void deinit_DocumentWidget(iDocumentWidget *d) { 153void deinit_DocumentWidget(iDocumentWidget *d) {