Fix for changing to different panel on data change.

After data has been edited, the current panel is now updated.
This commit is contained in:
2015-02-26 20:38:57 +01:00
parent 9ee421b792
commit 3ece3588e6
9 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ public class EditStagePanel extends JFrame{
JOptionPane.showMessageDialog(null, "Stage edited!");
setVisible(false);
dispose();
Window.updatePanel("art_sta");
Window.updatePanel();
}
else {
JOptionPane.showMessageDialog(null, "Choose a different stage name!");
@@ -113,7 +113,7 @@ public class EditStagePanel extends JFrame{
JOptionPane.showMessageDialog(null, "Stage removed!");
setVisible(false);
dispose();
Window.updatePanel("art_sta");
Window.updatePanel();
}
}
});