branch develop updated (430f304 -> 2ecd85c)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository tutti. See http://git.codelutin.com/tutti.git from 430f304 fix typo in action name (refs #6793) new 2ecd85c fixes #6799: [TECH] Problème de fermeture de l'écran résumé The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 2ecd85c9e68c3e4ab9970d76ad16ab9605be8ddc Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Mar 9 15:50:45 2015 +0100 fixes #6799: [TECH] Problème de fermeture de l'écran résumé Summary of changes: .../content/operation/catches/EditCatchesSvgHandler.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 2ecd85c9e68c3e4ab9970d76ad16ab9605be8ddc Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Mar 9 15:50:45 2015 +0100 fixes #6799: [TECH] Problème de fermeture de l'écran résumé --- .../content/operation/catches/EditCatchesSvgHandler.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java index 485a17f..c99e5c4 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java @@ -306,10 +306,18 @@ public class EditCatchesSvgHandler { if (canvas != null) { UpdateManager updateManager = canvas.getUpdateManager(); - if (updateManager != null) { - updateManager.suspend(); + if (updateManager != null ) { + try { + updateManager.suspend(); + } catch (Exception e) { + // FIXME Should not come here, but still can happen... + } + } + try { + canvas.dispose(); + } catch (Exception e) { + // FIXME Should not come here, but still can happen... } - canvas.dispose(); ui.getSvgCanvasPanel().remove(canvas); } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm