Fix QuickSearchDialogFragment crash
This commit is contained in:
parent
44a5213912
commit
a791aef638
1 changed files with 4 additions and 1 deletions
|
@ -769,7 +769,10 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC
|
|||
searching = false;
|
||||
hideProgressBar();
|
||||
updateClearButtonVisibility(true);
|
||||
getDialog().hide();
|
||||
Dialog dialog = getDialog();
|
||||
if (dialog != null) {
|
||||
dialog.hide();
|
||||
}
|
||||
app.getLocationProvider().addCompassListener(app.getLocationProvider().getNavigationInfo());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue