Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Changed name of visible variable from display to isVisible.
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesEskebaek committed Sep 7, 2013
1 parent 742e677 commit 2f9634f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -26,21 +26,21 @@ public static Type<ReferenceVisibleEventHandler> getType()
}

private Locale selectedLocale;
private boolean display;
private boolean isVisible;

public ReferenceVisibleEvent(Locale selectedLocale, boolean display)
public ReferenceVisibleEvent(Locale selectedLocale, boolean isVisble)
{
this.selectedLocale = selectedLocale;
this.display = display;
this.isVisible = isVisible;
}

public Locale getSelectedLocale() {
return selectedLocale;
}

public boolean isDisplay()
public boolean isVisible()
{
return display;
return isVisible;
}

@Override
Expand Down
Expand Up @@ -224,7 +224,7 @@ public void onTransUnitUpdated(TransUnitUpdatedEvent event)
public void onShowHideReference(ReferenceVisibleEvent event)
{

if (event.isDisplay()) {
if (event.isVisible()) {
isReferenceShowing = true;
selectedReferenceLocale = event.getSelectedLocale();
showReference();
Expand Down

0 comments on commit 2f9634f

Please sign in to comment.