mirror of
https://github.com/storytold/designcraft.git
synced 2026-12-02 20:21:15 -05:00
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:
1 file changed
+1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user