Changeset 19752

Show
Ignore:
Timestamp:
08.06.2009 13:09:47 (10 years ago)
Author:
kjdon
Message:

check server is running before looking at isURLPending

Files:
1 modified

Legend:

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

    r19598 r19752  
    9292        // !! Don't like this here 
    9393        LocalLibraryServer.checkServerRunning(); 
    94         if(LocalLibraryServer.isURLPending()) { 
     94        if(LocalLibraryServer.isRunning() && LocalLibraryServer.isURLPending()) { 
    9595        // Remind the user to press Enter Library, and return from this method 
    9696        JOptionPane.showMessageDialog(Gatherer.g_man,