Allow more (lots more) unfold from bus menu entries.
Fixes https://gitlab.com/kicad/code/kicad/issues/10529
This commit is contained in:
parent
042f584859
commit
4665cdcdc5
|
@ -43,6 +43,12 @@
|
||||||
*/
|
*/
|
||||||
#define MAX_UNIT_COUNT_PER_PACKAGE 676
|
#define MAX_UNIT_COUNT_PER_PACKAGE 676
|
||||||
|
|
||||||
|
/**
|
||||||
|
* While it would seem that an unfold-from-bus menu with over 100 items would be
|
||||||
|
* hard to deal with, we've already had one user who wants 256.
|
||||||
|
*/
|
||||||
|
#define MAX_BUS_UNFOLD_MENU_ITEMS 1024
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Command IDs for the schematic editor.
|
* Command IDs for the schematic editor.
|
||||||
|
@ -80,7 +86,7 @@ enum id_eeschema_frm
|
||||||
//
|
//
|
||||||
// Dynamically bound in AddMenusForBus():
|
// Dynamically bound in AddMenusForBus():
|
||||||
ID_POPUP_SCH_UNFOLD_BUS = ID_POPUP_MENU_START,
|
ID_POPUP_SCH_UNFOLD_BUS = ID_POPUP_MENU_START,
|
||||||
ID_POPUP_SCH_UNFOLD_BUS_END = ID_POPUP_SCH_UNFOLD_BUS + 128,
|
ID_POPUP_SCH_UNFOLD_BUS_END = ID_POPUP_SCH_UNFOLD_BUS + MAX_BUS_UNFOLD_MENU_ITEMS,
|
||||||
|
|
||||||
// Unit select context menus command IDs.
|
// Unit select context menus command IDs.
|
||||||
ID_POPUP_SCH_SELECT_UNIT_CMP,
|
ID_POPUP_SCH_SELECT_UNIT_CMP,
|
||||||
|
|
Loading…
Reference in New Issue