mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 00:02:27 -08:00
Fix null pointer emulator bug for Node children
This commit is contained in:
1 parent
53e7cc7f72
commit
dd478d7cd4
1 file changed
+3
-1
@@ -93,7 +93,9 @@ public class NodeAdapter extends RecyclerView.Adapter<BasicViewHolder> {
|
||||
*/
|
||||
public void rebuildList(PwGroup group) {
|
||||
this.nodeSortedList.clear();
|
||||
this.nodeSortedList.addAll(group.getDirectChildren());
|
||||
if (group != null) {
|
||||
this.nodeSortedList.addAll(group.getDirectChildren());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user