Show
Ignore:
Timestamp:
16.01.2013 20:12:43 (7 years ago)
Author:
davidb
Message:

Checking the value of the toolbar overlay link item.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/GlamED/trunk/src/org/honours/actions/MiscActions.java

    r26732 r26738  
    138138        displayText.setText("Hide Notes"); 
    139139         
     140        Text overlayLink = (Text)Misc.getItemContainingData(Interfaces.OVERLAY_TOOLBAR_DATA, DisplayIO.getCurrentFrame()); 
    140141         
     142        if(!overlayLink.getLink().equals(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_CLICKABLE)) 
     143            overlayLink.setLink(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_CLICKABLE); 
    141144         
    142145        HonoursFrameIO.ToggleNotesDisplay(collectItem);