File menu: add Print… next to Print Booklet… (#3132)

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.
This commit is contained in:
Zinadin Zidan committed 2026-12-02 01:37:55 +06:00
1 parent 2866101f38
commit 4e00d6508f
1 file changed
+1
+1
View File
@@ -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",