diff --git a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java index 6b306003d0..0e34a4ca35 100644 --- a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java @@ -1491,7 +1491,9 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC limit--; } } - addressSearchFragment.updateListAdapter(rows, false); + if (addressSearchFragment != null) { + addressSearchFragment.updateListAdapter(rows, false); + } } public void reloadHistory() {