From 4e00d6508fe6aaa3437f1868c193db1486f74236 Mon Sep 17 00:00:00 2001 From: Zinadin Zidan Date: Wed, 2 Dec 2026 01:37:55 +0600 Subject: [PATCH] =?UTF-8?q?File=20menu:=20add=20Print=E2=80=A6=20next=20to?= =?UTF-8?q?=20Print=20Booklet=E2=80=A6=20(#3132)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The File menu table never listed file.print, so the menu bar (and the macOS menu bar, built from the same table) had Print Booklet… but no Print…; only Ctrl+P and command search reached the print dialog. Add cmd:file.print before ui:app.printBooklet. The row takes its label (Print…), its shortcut and its enabled state from the command, and with no parameters the menu opens the print dialog, as Ctrl+P does. --- crates/ui-egui/src/menus/tables.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui-egui/src/menus/tables.rs b/crates/ui-egui/src/menus/tables.rs index b3ddc62b2..ab017a832 100644 --- a/crates/ui-egui/src/menus/tables.rs +++ b/crates/ui-egui/src/menus/tables.rs @@ -22,6 +22,7 @@ pub const MENUS: &[(&str, &[&str])] = &[ "ui:app.exportPdf", "ui:app.exportBatch", "ui:app.packageDialog", + "cmd:file.print", "ui:app.printBooklet", "ui:app.exportPng", "ui:app.exportIdml",