X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/blobdiff_plain/224fb86f5fef33874d0faa55e5f0bc8daa90e4b5..a42b53817392914f9df9f07b74d4cdf2b29aca2c:/src/de/cwde/freeshisen/HighscoreActivity.java diff --git a/src/de/cwde/freeshisen/HighscoreActivity.java b/src/de/cwde/freeshisen/HighscoreActivity.java index bf94458..5969737 100644 --- a/src/de/cwde/freeshisen/HighscoreActivity.java +++ b/src/de/cwde/freeshisen/HighscoreActivity.java @@ -94,12 +94,7 @@ OnSharedPreferenceChangeListener { editor.commit(); } }); - builder.setNegativeButton(android.R.string.cancel, - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int id) { - // User cancelled the dialog - nothing to do - } - }); + builder.setNegativeButton(android.R.string.cancel, null); AlertDialog dialog = builder.create(); dialog.show();