fix: move the clear favorites menu items from the edit menu to the tools menu.
The edit menu items is supposed to appliy an action for the currently selected games in the game list, the clear favorites items did not.
This commit is contained in:
parent
5d3f57b1ea
commit
e7a608f835
|
@ -49,7 +49,7 @@ public final class MainWindow extends JFrame
|
|||
this.setIconImage(new ImageIcon(getClass().getResource("/se/lantz/FrameIcon.png")).getImage());
|
||||
this.setTitle("PCUAE Manager");
|
||||
uiModel = new MainViewModel();
|
||||
menuManager = new MenuManager(uiModel, this);
|
||||
menuManager = new MenuManager(uiModel);
|
||||
this.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
|
||||
|
||||
this.addWindowListener(new java.awt.event.WindowAdapter()
|
||||
|
@ -102,7 +102,7 @@ public final class MainWindow extends JFrame
|
|||
public void refreshMenuAndUI()
|
||||
{
|
||||
getJMenuBar().removeAll();
|
||||
menuManager.setupEditMenu();
|
||||
menuManager.updateEditMenu();
|
||||
for (JMenu menu : menuManager.getMenues())
|
||||
{
|
||||
menuBar.add(menu);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue