Commit 12b1bea
committed
Only warn about duplicate menu entries if priorities are equal
When we try to add menu items with the same path and their priorities
differ, we should not complain (the higher-priority one was already
added in that case, so we do not have to replace any existing item).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 9f527af commit 12b1bea
File tree
1 file changed
+9
-2
lines changed1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
534 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
535 | 542 | | |
536 | 543 | | |
537 | 544 | | |
| |||
0 commit comments