mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 11:35:07 -05:00
put main original id at the top
This commit is contained in:
parent
034deaacba
commit
c3c311152e
@ -179,7 +179,10 @@ public class SectionView extends LinearLayout implements OnClickListener, Editor
|
||||
if (mType == Id.type.user_id) {
|
||||
for (int i = 0; i < mEditors.getChildCount(); ++i) {
|
||||
UserIdEditor editor = (UserIdEditor) mEditors.getChildAt(i);
|
||||
orig.add(editor.getOriginalID());
|
||||
if (editor.isMainUserId())
|
||||
orig.add(0, editor.getOriginalID());
|
||||
else
|
||||
orig.add(editor.getOriginalID());
|
||||
}
|
||||
return orig;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user