class: Tools::NavigationState
authorClaus Gittinger <cg@exept.de>
Wed, 06 Mar 2013 10:40:18 +0100
changeset 12438 b911df376dd5
parent 12437 7f9093a67e5f
child 12439 d90a948f2510
class: Tools::NavigationState changed: #rawNameStringOrNilWantShort: dont crash with nil categories
Tools_NavigationState.st
--- a/Tools_NavigationState.st	Wed Mar 06 10:06:59 2013 +0100
+++ b/Tools_NavigationState.st	Wed Mar 06 10:40:18 2013 +0100
@@ -1481,7 +1481,7 @@
             ] ifFalse:[
                 cats := self selectedCategories value.
                 cats size == 1 ifTrue:[
-                    nm := cats first string
+                    nm := (cats first ? '') string
                 ]
             ]
         ].
@@ -1679,13 +1679,14 @@
 !NavigationState class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigationState.st,v 1.47 2012-11-03 14:22:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigationState.st,v 1.48 2013-03-06 09:40:18 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigationState.st,v 1.47 2012-11-03 14:22:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigationState.st,v 1.48 2013-03-06 09:40:18 cg Exp $'
 !
 
 version_SVN
     ^ '§Id§'
 ! !
+