diff options
| author | 2014-09-20 12:56:50 -0400 | |
|---|---|---|
| committer | 2014-09-20 12:56:50 -0400 | |
| commit | 7106c3a4b546aca645a19d40216185d6723409bc (patch) | |
| tree | 9adf6ef213bef44dfc73ec94d7d6dcbc770dcf11 | |
| parent | fixed issue with inner class detection (diff) | |
| download | enigma-7106c3a4b546aca645a19d40216185d6723409bc.tar.gz enigma-7106c3a4b546aca645a19d40216185d6723409bc.tar.xz enigma-7106c3a4b546aca645a19d40216185d6723409bc.zip | |
added warning message to the crash dialog about choosing exit
| -rw-r--r-- | src/cuchaz/enigma/gui/CrashDialog.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuchaz/enigma/gui/CrashDialog.java b/src/cuchaz/enigma/gui/CrashDialog.java index 501080ec..0eb9830c 100644 --- a/src/cuchaz/enigma/gui/CrashDialog.java +++ b/src/cuchaz/enigma/gui/CrashDialog.java | |||
| @@ -57,6 +57,7 @@ public class CrashDialog | |||
| 57 | FlowLayout buttonsLayout = new FlowLayout(); | 57 | FlowLayout buttonsLayout = new FlowLayout(); |
| 58 | buttonsLayout.setAlignment( FlowLayout.RIGHT ); | 58 | buttonsLayout.setAlignment( FlowLayout.RIGHT ); |
| 59 | buttonsPanel.setLayout( buttonsLayout ); | 59 | buttonsPanel.setLayout( buttonsLayout ); |
| 60 | buttonsPanel.add( GuiTricks.unboldLabel( new JLabel( "If you choose exit, you will lose any unsaved work." ) ) ); | ||
| 60 | JButton ignoreButton = new JButton( "Ignore" ); | 61 | JButton ignoreButton = new JButton( "Ignore" ); |
| 61 | ignoreButton.addActionListener( new ActionListener( ) | 62 | ignoreButton.addActionListener( new ActionListener( ) |
| 62 | { | 63 | { |