Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe

Commits:

1 changed file:

Changes:

  • client/src/main/java/fr/ird/observe/client/ui/storage/StorageUIBlockingLayerUI.java
    ... ... @@ -80,7 +80,9 @@ public class StorageUIBlockingLayerUI extends BlockingLayerUI {
    80 80
                     if (log.isDebugEnabled()) {
    
    81 81
                         log.debug("Enter in formula zone: " + e);
    
    82 82
                     }
    
    83
    -                ObserveSwingApplicationContext.get().getMainUI().getModel().setFocusOnNavigation(false);
    
    83
    +                if (ObserveSwingApplicationContext.get().getMainUI() != null) {
    
    84
    +                    ObserveSwingApplicationContext.get().getMainUI().getModel().setFocusOnNavigation(false);
    
    85
    +                }
    
    84 86
             }
    
    85 87
             super.processMouseEvent(e, l);
    
    86 88
         }