svn commit: r16018 - trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-11-10 17:30:01-0800
New Revision: 16018

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java

Log:
Removing a StackOverflowError in the getActiveLayer method.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java?view=diff&rev=16018&p1=trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java&p2=trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java&r1=16017&r2=16018
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/DiagramUtils.java	2008-11-10 17:30:01-0800
@@ -64,7 +64,7 @@
         if (editor != null) {
             LayerManager manager = editor.getLayerManager();
             if (manager != null) {
-                Layer layer = getActiveLayer();
+                Layer layer = manager.getActiveLayer();
                 if (layer instanceof LayerPerspective) {
                     return (LayerPerspective) layer;
                 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.