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

Commit

Permalink
Fix glossary details onbind issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Sep 26, 2012
1 parent 825a4d9 commit 99084af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -78,6 +78,7 @@ public GlossaryPresenter(GlossaryDisplay display, EventBus eventBus, CachingDisp
@Override
protected void onBind()
{
glossaryDetailsPresenter.onBind();
keyShortcutPresenter.register(new KeyShortcut(new Keys(Keys.NO_MODIFIER, KeyCodes.KEY_ENTER), ShortcutContext.Glossary, messages.searchGlossary(), new KeyShortcutEventHandler()
{
@Override
Expand Down
Expand Up @@ -115,6 +115,7 @@ public void onBind()
verify(mockEventBus).addHandler(TransUnitSelectionEvent.getType(), glossaryPresenter);
verify(mockKeyShortcutPresenter).register(isA(KeyShortcut.class));
verify(mockDisplay).setListener(glossaryPresenter);
verify(mockGlossaryDetailsPresenter).onBind();
verify(mockGlossaryDetailsPresenter).setGlossaryListener(glossaryPresenter);

}
Expand Down

0 comments on commit 99084af

Please sign in to comment.