|
@@ -70,7 +70,7 @@ class TitleBarButton implements MenuItem.OnMenuItemClickListener {
|
70
|
70
|
@Override
|
71
|
71
|
public void run() {
|
72
|
72
|
ActionMenuView actionMenuView = ViewUtils.findChildByClass(parent, ActionMenuView.class);
|
73
|
|
- if (actionMenuView != null) {
|
|
73
|
+ if (actionMenuView != null && actionMenuView.getChildAt(index) != null) {
|
74
|
74
|
actionMenuView.getChildAt(index).setOnLongClickListener(null);
|
75
|
75
|
}
|
76
|
76
|
}
|