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:
+2
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user