This commit is contained in:
2015-02-27 10:52:26 +01:00
parent 18b9510f04
commit 43e2dca06e
6 changed files with 49 additions and 23 deletions
+2 -2
View File
@@ -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();
}
}