1
0
Fork 0

PowerEditor: minor fix

This commit is contained in:
kauron 2015-07-19 20:15:09 +02:00
parent 267b00049f
commit 025968b91d

View file

@ -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) { public void onClick(DialogInterface dialog, int whichButton) {
// Canceled. // Canceled.
} }
}); });
alert.setNeutralButton(R.string.no, new DialogInterface.OnClickListener() { alert.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialogInterface, int i) { public void onClick(DialogInterface dialogInterface, int i) {
PowerEditor.super.onBackPressed(); PowerEditor.super.onBackPressed();