From 025968b91d70ea7bab72d3955485b09229eff213 Mon Sep 17 00:00:00 2001 From: kauron Date: Sun, 19 Jul 2015 20:15:09 +0200 Subject: [PATCH] PowerEditor: minor fix --- app/src/main/java/com/kauron/dungeonmanager/PowerEditor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/kauron/dungeonmanager/PowerEditor.java b/app/src/main/java/com/kauron/dungeonmanager/PowerEditor.java index 37fda2d..2bd3807 100644 --- a/app/src/main/java/com/kauron/dungeonmanager/PowerEditor.java +++ b/app/src/main/java/com/kauron/dungeonmanager/PowerEditor.java @@ -42,12 +42,12 @@ public class PowerEditor extends ActionBarActivity { } }); - alert.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { + alert.setNeutralButton(R.string.cancel, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { // Canceled. } }); - alert.setNeutralButton(R.string.no, new DialogInterface.OnClickListener() { + alert.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { PowerEditor.super.onBackPressed();