NPE fix
This commit is contained in:
parent
8ed6a2111b
commit
e3f7fd5cb1
@ -403,7 +403,10 @@ public class CalculatorPlotFragment extends SherlockFragment implements Calculat
|
||||
uiHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
updateGraphicalView(getView());
|
||||
final View view = getView();
|
||||
if (view != null) {
|
||||
updateGraphicalView(view);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user