fix Issue 2106
This commit is contained in:
parent
e9ab0bec9f
commit
c7ae34e1f6
2 changed files with 2 additions and 0 deletions
|
@ -474,6 +474,7 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL
|
|||
addAsTargetAction.dlg.setButton(Dialog.BUTTON_NEGATIVE, mapActivity.getResources().getString(R.string.shared_string_skip), new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
cancelSearch = true;
|
||||
searchingAddress = false;
|
||||
}
|
||||
});
|
||||
addAsTargetAction.dlg.show();
|
||||
|
|
|
@ -141,6 +141,7 @@ public abstract class MenuTitleController {
|
|||
protected void acquireStreetName() {
|
||||
if (searchingAddress) {
|
||||
cancelSearch = true;
|
||||
searchingAddress = false;
|
||||
getMapActivity().getMyApplication().runInUIThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in a new issue