Opened 24 hours ago
Last modified 5 hours ago
#19342 new bug
IOM: Disable "Remove" menu item when no transformer is selected (easy)
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 (last modified by )
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 1: The Remove menu item was added in hrev58502. It won't be available in R1/beta5. You'll need to be on the nightlies to see it.
Note 2: 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.
Change History (5)
comment:1 by , 23 hours ago
Description: | modified (diff) |
---|---|
Version: | R1/beta5 → R1/Development |
comment:2 by , 23 hours ago
Description: | modified (diff) |
---|
comment:3 by , 20 hours ago
comment:4 by , 19 hours ago
I don't think replacing the menu bar is a good idea. But a toolbar (especially with previews on hover) would be good indeed, just as a suplement to the menu.
comment:5 by , 5 hours ago
I don't mean the global menubar (that should stay, obviously), I mean the shape/transform/path menus above each list on the left panel
Should we consider replacing the menu with a toolbar with icons to add and remove things?