mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
pass message when key added
This commit is contained in:
parent
d6726fe9d6
commit
53dc044ab4
@ -168,6 +168,9 @@ public class SectionView extends LinearLayout implements OnClickListener, Editor
|
||||
view.setEditorListener(this);
|
||||
view.setValue("", mEditors.getChildCount() == 0, true);
|
||||
mEditors.addView(view);
|
||||
if (mEditorListener != null) {
|
||||
mEditorListener.onEdited();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@ -367,5 +370,8 @@ public class SectionView extends LinearLayout implements OnClickListener, Editor
|
||||
view.setValue(newKey, newKey.isMasterKey(), -1, true);
|
||||
mEditors.addView(view);
|
||||
SectionView.this.updateEditorsVisible();
|
||||
if (mEditorListener != null) {
|
||||
mEditorListener.onEdited();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user