Opened 5 years ago

Last modified 5 years ago

#19997 closed enhancement

[Patch] Disable MapPaint style submenu for empty settings — at Version 3

Reported by: jBeata Owned by: team
Priority: normal Milestone: 20.11
Component: Core mappaint Version: latest
Keywords: MapPaint, sub-menu Cc:

Description (last modified by jBeata)

Disable MapPaint style submenu for empty settings.

In the case of the MapWithAI plugin the following situation occurs:
https://josm.openstreetmap.de/attachment/ticket/19997/JOSM_MapWithAI_MapPaintStyle_menu.png

Actual behavior: The Source Colors menu item is enabled, but no additional sub-menu is shown.
Desired behavior: If there is no sub-menu to show, then the Source Colors menu item should be disabled.

Change History (5)

by jBeata, 5 years ago

patch for the improvement

comment:1 by jBeata, 5 years ago

Description: modified (diff)

comment:2 by jBeata, 5 years ago

Description: modified (diff)

comment:3 by jBeata, 5 years ago

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