Ignore:
Timestamp:
09/04/08 17:07:39 (16 years ago)
Author:
ra33
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/FrameIO.java

    r286 r294  
    243243
    244244        public static boolean canAccessFrame(String frameName) {
     245                Frame current = DisplayIO.getCurrentFrame();
     246                //Just incase the current frame is not yet saved...
     247                if(frameName.equals(current.getName())){
     248                        FrameIO.SaveFrame(current,false,false);
     249                        current.change();
     250                        return true;
     251                }
     252               
    245253                for (String path : UserSettings.FrameDirs) {
    246254                        if (getFrameFullPathName(path, frameName) != null)
Note: See TracChangeset for help on using the changeset viewer.