summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-09 13:33:21 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-10 06:29:31 +0300
commite0256c5b7c1e92db42cef1556eee849dff92c513 (patch)
tree0c6c18a6bd8c838536a4ea6142b6d6f3530471eb /src/ui/util.c
parentdf99b5720bbe4f277a77d0a94fb40d3eeec6eb07 (diff)
Mobile: Hide shortcut keys
On iPad, the platform convention is to show these in a popup anyway.
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 8424dd65..eb0ee661 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -577,7 +577,7 @@ iWidget *makeMenu_Widget(iWidget *parent, const iMenuItem *items, size_t n) {
577 menu, 577 menu,
578 iClob(newKeyMods_LabelWidget(item->label, item->key, item->kmods, item->command)), 578 iClob(newKeyMods_LabelWidget(item->label, item->key, item->kmods, item->command)),
579 noBackground_WidgetFlag | frameless_WidgetFlag | alignLeft_WidgetFlag | 579 noBackground_WidgetFlag | frameless_WidgetFlag | alignLeft_WidgetFlag |
580 drawKey_WidgetFlag | itemFlags); 580 drawKey_WidgetFlag | itemFlags);
581 haveIcons |= checkIcon_LabelWidget(label); 581 haveIcons |= checkIcon_LabelWidget(label);
582 updateSize_LabelWidget(label); /* drawKey was set */ 582 updateSize_LabelWidget(label); /* drawKey was set */
583 } 583 }