BUGFIX 10

git-svn-id: https://osmand.googlecode.com/svn/trunk@341 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-07-14 18:58:31 +00:00
parent d2c3656289
commit 6245fc5388

View file

@ -354,7 +354,8 @@ public class OsmBugsLayer implements OsmandMapLayer {
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {
String text = ((EditText)view.findViewById(R.id.BugMessage)).getText().toString(); String text = ((EditText)view.findViewById(R.id.BugMessage)).getText().toString();
String author = ((EditText)view.findViewById(R.id.AuthorName)).getText().toString(); String author = ((EditText)view.findViewById(R.id.AuthorName)).getText().toString();
OsmandSettings.setUserName(ctx, author); // do not set name as author it is ridiculous in that case
// OsmandSettings.setUserName(ctx, author);
boolean bug = createNewBug(latitude, longitude, boolean bug = createNewBug(latitude, longitude,
text, author); text, author);
if (bug) { if (bug) {