chore: changed warning message when deleting saved state
This commit is contained in:
parent
7f67e09f75
commit
b472d0e97a
|
@ -334,7 +334,7 @@ public class SaveStatePanel extends JPanel
|
||||||
}
|
}
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|
||||||
private ImageIcon getNoScreenshotImageIcon()
|
private ImageIcon getNoScreenshotImageIcon()
|
||||||
{
|
{
|
||||||
if (noSceenshotIcon == null)
|
if (noSceenshotIcon == null)
|
||||||
|
@ -826,10 +826,11 @@ public class SaveStatePanel extends JPanel
|
||||||
{
|
{
|
||||||
public void actionPerformed(ActionEvent e)
|
public void actionPerformed(ActionEvent e)
|
||||||
{
|
{
|
||||||
int value = JOptionPane.showConfirmDialog(SaveStatePanel.this,
|
int value = JOptionPane
|
||||||
"Are you sure you want to delete the saved state?",
|
.showConfirmDialog(SaveStatePanel.this,
|
||||||
"Delete saved state",
|
"Are you sure you want to delete the saved state?\nIt will be deleted when you save the changes for the current game.",
|
||||||
JOptionPane.YES_NO_OPTION);
|
"Delete saved state",
|
||||||
|
JOptionPane.YES_NO_OPTION);
|
||||||
if (value == JOptionPane.YES_OPTION)
|
if (value == JOptionPane.YES_OPTION)
|
||||||
{
|
{
|
||||||
gamesFileUpdated = false;
|
gamesFileUpdated = false;
|
||||||
|
|
Loading…
Reference in New Issue