mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-24 09:42:16 -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.setEditorListener(this);
|
||||||
view.setValue("", mEditors.getChildCount() == 0, true);
|
view.setValue("", mEditors.getChildCount() == 0, true);
|
||||||
mEditors.addView(view);
|
mEditors.addView(view);
|
||||||
|
if (mEditorListener != null) {
|
||||||
|
mEditorListener.onEdited();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -367,5 +370,8 @@ public class SectionView extends LinearLayout implements OnClickListener, Editor
|
|||||||
view.setValue(newKey, newKey.isMasterKey(), -1, true);
|
view.setValue(newKey, newKey.isMasterKey(), -1, true);
|
||||||
mEditors.addView(view);
|
mEditors.addView(view);
|
||||||
SectionView.this.updateEditorsVisible();
|
SectionView.this.updateEditorsVisible();
|
||||||
|
if (mEditorListener != null) {
|
||||||
|
mEditorListener.onEdited();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user