Fix spelling mistake in variable name
Change-Id: I17df6af680c04c4682c408c949452b493c58ca32
This commit is contained in:
@@ -90,7 +90,7 @@ public class MyWatchedProjectsScreen extends SettingsScreen {
|
|||||||
@Override
|
@Override
|
||||||
protected void onMovePointerTo(String projectName) {
|
protected void onMovePointerTo(String projectName) {
|
||||||
// prevent user input from being overwritten by simply poping up
|
// prevent user input from being overwritten by simply poping up
|
||||||
if (!projectsPopup.isPopingUp() || "".equals(nameBox.getText())) {
|
if (!projectsPopup.isPoppingUp() || "".equals(nameBox.getText())) {
|
||||||
nameBox.setText(projectName);
|
nameBox.setText(projectName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ public class CreateProjectScreen extends Screen {
|
|||||||
@Override
|
@Override
|
||||||
protected void onMovePointerTo(String projectName) {
|
protected void onMovePointerTo(String projectName) {
|
||||||
// prevent user input from being overwritten by simply poping up
|
// prevent user input from being overwritten by simply poping up
|
||||||
if (!projectsPopup.isPopingUp() || "".equals(sugestParent.getText())) {
|
if (!projectsPopup.isPoppingUp() || "".equals(sugestParent.getText())) {
|
||||||
sugestParent.setText(projectName);
|
sugestParent.setText(projectName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class ProjectListPopup {
|
|||||||
private PopupPanel.PositionCallback popupPosition;
|
private PopupPanel.PositionCallback popupPosition;
|
||||||
private int preferredTop;
|
private int preferredTop;
|
||||||
private int preferredLeft;
|
private int preferredLeft;
|
||||||
private boolean popingUp;
|
private boolean poppingUp;
|
||||||
private boolean firstPopupLoad = true;
|
private boolean firstPopupLoad = true;
|
||||||
|
|
||||||
public void initPopup(final String popupText, final String currentPageLink) {
|
public void initPopup(final String popupText, final String currentPageLink) {
|
||||||
@@ -84,8 +84,8 @@ public class ProjectListPopup {
|
|||||||
protected void openRow(String projectName) {
|
protected void openRow(String projectName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPopingUp() {
|
public boolean isPoppingUp() {
|
||||||
return popingUp;
|
return poppingUp;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createWidgets(final String popupText,
|
private void createWidgets(final String popupText,
|
||||||
@@ -119,7 +119,7 @@ public class ProjectListPopup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void displayPopup() {
|
public void displayPopup() {
|
||||||
popingUp = true;
|
poppingUp = true;
|
||||||
if (firstPopupLoad) { // For sizing/positioning, delay display until loaded
|
if (firstPopupLoad) { // For sizing/positioning, delay display until loaded
|
||||||
populateProjects();
|
populateProjects();
|
||||||
} else {
|
} else {
|
||||||
@@ -132,7 +132,7 @@ public class ProjectListPopup {
|
|||||||
}
|
}
|
||||||
projectsTab.setRegisterKeys(true);
|
projectsTab.setRegisterKeys(true);
|
||||||
projectsTab.finishDisplay();
|
projectsTab.finishDisplay();
|
||||||
popingUp = false;
|
poppingUp = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user