mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
fixed bug where notes and tasks button appear in helpmenu, when no bookmarks menu is present
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12302 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
wolf.posdorfer
parent
248a778b98
commit
d0c67b956c
@ -148,7 +148,7 @@ public class ScratchPadPlugin implements Plugin {
|
||||
|
||||
// Add To toolbar
|
||||
JMenuBar menubar = SparkManager.getMainWindow().getMenu();
|
||||
JMenu menu = menubar.getMenu(3);
|
||||
JMenu menu = menubar.getMenu(menubar.getMenuCount()-2);
|
||||
menu.add(taskMenu);
|
||||
menu.add(notesMenu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user