svn commit: r17065 - trunk/src/argouml-app/src/org/argouml/notation/NotationSettings.java

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2009-04-07 13:15:06-0700
New Revision: 17065

Modified:
   trunk/src/argouml-app/src/org/argouml/notation/NotationSettings.java

Log:
Make this work with nested settings.

Modified: trunk/src/argouml-app/src/org/argouml/notation/NotationSettings.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/notation/NotationSettings.java?view=diff&pathrev=17065&r1=17064&r2=17065
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/notation/NotationSettings.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/notation/NotationSettings.java	2009-04-07 13:15:06-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 2008 Tom Morris and other contributors. All
+// Copyright (c) 2008-2009 Tom Morris and other contributors. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -195,7 +195,7 @@
             return fullyHandleStereotypes;
         } else {
             if (parent != null) {
-                return parent.fullyHandleStereotypes;
+                return parent.isFullyHandleStereotypes();
             } else {
                 return getDefaultSettings().isFullyHandleStereotypes();
             }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1582971

To unsubscribe from this discussion, e-mail: [[email protected]].
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.