kopia lustrzana https://github.com/olgamiller/SSTVEncoder2
Added if-query to check whether Label container is not null
rodzic
8df1b38df5
commit
2b0bc21082
|
@ -115,7 +115,7 @@ public class LabelCollection {
|
|||
}
|
||||
|
||||
public void editLabelEnd(Label label) {
|
||||
if (label != null) { // not canceled
|
||||
if (mEditLabel != null && label != null) {
|
||||
if ("".equals(label.getText().trim())) {
|
||||
if (mLabels.contains(mEditLabel))
|
||||
mLabels.remove(mEditLabel);
|
||||
|
|
Ładowanie…
Reference in New Issue