Skip to content

Commit

Permalink
Fix problem that doesn't appear version number #20
Browse files Browse the repository at this point in the history
  • Loading branch information
junichi11 committed Oct 21, 2013
1 parent 08e8c39 commit 0086568
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public class DebugStatusLineElement implements StatusLineElementProvider {
private JList list;
private Popup popup;
private String level = ""; // NOI18N
private String version = ""; // NOI18N
private boolean popupFlg = false;

static {
Expand Down Expand Up @@ -334,6 +335,14 @@ public String getLevel() {
return level;
}

public void setVersion(String version) {
this.version = version;
}

public String getVersion() {
return version;
}

public void setPhpModule(PhpModule phpModule) {
this.phpModule = phpModule;
}
Expand Down Expand Up @@ -383,6 +392,7 @@ public void resultChanged(LookupEvent lookupEvent) {
PhpModule pm = getPhpModule();
if (pm == pmTemp) {
setDebugLevelLabel(getLevel());
setVersionLabel(getVersion());
return;
} else {
if (pm != null) {
Expand Down Expand Up @@ -413,6 +423,7 @@ public void resultChanged(LookupEvent lookupEvent) {
if (version != null) {
versionNumber = getVersion(version) + ":"; // NOI18N
}
setVersion(versionNumber);
setVersionLabel(versionNumber);
}

Expand Down

0 comments on commit 0086568

Please sign in to comment.