Fixed a null pointer exception when setting up the task rabbit control set

pull/14/head
Sam Bosley 13 years ago
parent 861e7077f0
commit 62c683fc85

@ -630,8 +630,10 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener {
String item = itemOrder[i];
if (item.equals(moreSectionTrigger)) {
section = moreControls;
if (taskRabbitControl != null) {
taskRabbitControl.getDisplayView().setVisibility(View.GONE);
section.addView(taskRabbitControl.getDisplayView());
}
} else {
View control_set = null;

Loading…
Cancel
Save