Opened 2 days ago

Last modified 24 hours ago

#19342 new bug

IOM: Disable "Remove" menu item when no transformer is selected (easy) — at Version 2

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 Zardshard)

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 (2)

comment:1 by nephele, 2 days ago

Description: modified (diff)
Version: R1/beta5R1/Development

comment:2 by Zardshard, 2 days ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.