Ignore:
Timestamp:
2004-10-08T16:07:35+13:00 (20 years ago)
Author:
mdewsnip
Message:

Moved the current_modal static variable out of the Gatherer class into the ModalDialog class. This removes more dependencies on the Gatherer class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r8253 r8256  
    146146    extends FocusAdapter {
    147147    public void focusGained(FocusEvent e) {
    148         if(Gatherer.current_modal != null) {
    149         Gatherer.current_modal.makeVisible();
    150         Gatherer.current_modal.toFront();
     148        if (ModalDialog.current_modal != null) {
     149        ModalDialog.current_modal.makeVisible();
     150        ModalDialog.current_modal.toFront();
    151151        }
    152152    }
Note: See TracChangeset for help on using the changeset viewer.