Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: 049a5c9c by Tony CHEMIT at 2017-08-13T18:28:27+02:00 Fix NPe when not using Main ui - - - - - 1 changed file: - client/src/main/java/fr/ird/observe/client/ui/storage/StorageUIBlockingLayerUI.java Changes: ===================================== client/src/main/java/fr/ird/observe/client/ui/storage/StorageUIBlockingLayerUI.java ===================================== --- a/client/src/main/java/fr/ird/observe/client/ui/storage/StorageUIBlockingLayerUI.java +++ b/client/src/main/java/fr/ird/observe/client/ui/storage/StorageUIBlockingLayerUI.java @@ -80,7 +80,9 @@ public class StorageUIBlockingLayerUI extends BlockingLayerUI { if (log.isDebugEnabled()) { log.debug("Enter in formula zone: " + e); } - ObserveSwingApplicationContext.get().getMainUI().getModel().setFocusOnNavigation(false); + if (ObserveSwingApplicationContext.get().getMainUI() != null) { + ObserveSwingApplicationContext.get().getMainUI().getModel().setFocusOnNavigation(false); + } } super.processMouseEvent(e, l); } View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/049a5c9cc3357cf51a490d7bc399... --- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/049a5c9cc3357cf51a490d7bc399... You're receiving this email because of your account on gitlab.com.
participants (1)
-
Tony CHEMIT