PowerEditor: minor correction
This commit is contained in:
parent
025968b91d
commit
84c0d8abb3
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public class PowerEditor extends ActionBarActivity {
|
||||||
if ( originalName == null ) {
|
if ( originalName == null ) {
|
||||||
saveName = strings[0];
|
saveName = strings[0];
|
||||||
for (int i = 0; i < powers; i++) {
|
for (int i = 0; i < powers; i++) {
|
||||||
if (p.getString("power" + power, "").equals(saveName)) {
|
if (saveName.equals(p.getString("power" + power, ""))) {
|
||||||
SnackbarManager.show(Snackbar
|
SnackbarManager.show(Snackbar
|
||||||
.with(this)
|
.with(this)
|
||||||
.text(R.string.power_same_name)
|
.text(R.string.power_same_name)
|
||||||
|
|
Reference in a new issue