Bugfixes
This commit is contained in:
+2
-2
@@ -51,8 +51,8 @@ public class MenuBar extends JMenuBar {
|
||||
|
||||
if(JOptionPane.showConfirmDialog(null, "Are you sure you want to create a new agenda?", "New Agenda", JOptionPane.YES_NO_OPTION) == JOptionPane.OK_OPTION)
|
||||
{
|
||||
Agenda a = new Agenda();
|
||||
w.setAgenda(a);
|
||||
Agenda ag = w.getAgenda();
|
||||
ag.clearAgenda();
|
||||
Window.updatePanel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user