mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 21:56:24 +00:00
A pick in Search Commands ran its command with no params, while the menu bar item gives the command params and opens a dialog for them. Clean Up, Create Gradient Mesh, Smart Punctuation, Release Type on a Path and Deep Ungroup ran at once with their default values, Find and Replace reported "missing `find`", and Print Ink Fixes reported that it needs a value. A pick now runs what a click on the menu item runs, so these open their dialogs and nothing changes until the dialog is confirmed. While the menu item is dimmed (Remove Background or Object Mosaic with no image selected, Find and Replace with no document open), a pick and a shortcut open no dialog, and the status line says why the command can't run. Before this, a shortcut of such a command opened its dialog, and confirming it failed. Both routes use one helper, shortcut_editor::menu_target_now. The menu items that helper reads are read once. Items that list an installed plug-in (File › Open With importers, Object › Plug-ins filters) are now left out of them, so a plug-in installed or removed later does not leave an item there that the menu no longer shows.