Opened 2 days ago
Last modified 24 hours ago
#19342 new bug
IOM: Disable "Remove" menu item when no transformer is selected (easy) — at Initial Version
Reported by: | Zardshard | Owned by: | Zardshard |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Icon-O-Matic | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The Transformer->Remove menu item should ideally be disabled when no transformer is selected, similar to how Shape->Remove, Style->Remove, and Path->Remove function when no shape/style/path is selected.
Note: The Transformer menu will be disabled until you create a shape. Try Shape->Add empty, then you should be able to access the Transformer menu.
Since I'm marking this as easy, here's a hint to get you started: StyleListView::_UpdateMenu() is where the style list enables/disables the Style->Remove menu item. You'll need to update TransformerListView::_UpdateMenu() to do something similar.