Commit 68a2bbde authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Avoid NullPointerException in HistoryFragment

parent bdf84925
......@@ -69,6 +69,7 @@ public class HistoryFragment extends SherlockListFragment {
public void refresh() {
Log.d(TAG, "Refreshing view!");
mHistoryAdapter.refresh();
if( mHistoryAdapter != null )
mHistoryAdapter.refresh();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment