Tools_SearchDialog.st
changeset 10469 d9dc7aa63fd6
parent 10444 702c7ef1f1bc
child 10557 5c24429dbb65
--- a/Tools_SearchDialog.st	Thu Aug 04 23:13:55 2011 +0200
+++ b/Tools_SearchDialog.st	Thu Aug 04 23:19:31 2011 +0200
@@ -208,7 +208,7 @@
             LastCodeSearched := code.
             LastCodeSearchArea := where.
         ] ifFalse:[
-            selectionList hasSelection ifTrue:[
+            (selectionList notNil and:[selectionList hasSelection]) ifTrue:[
                 sel := selectionList selectionValue.
             ] ifFalse:[
                 sel := selectorHolder value.
@@ -298,6 +298,8 @@
     ] ifFalse:[
         aBlock value.
     ]
+
+    "Modified: / 04-08-2011 / 23:18:42 / cg"
 !
 
 setupToAskForMethodSearchTitle:title forBrowser:brwsrArg searchWhat:searchWhatArg 
@@ -1262,7 +1264,7 @@
 !SearchDialog class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools_SearchDialog.st,v 1.63 2011-08-04 14:07:32 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools_SearchDialog.st,v 1.64 2011-08-04 21:19:31 cg Exp $'
 ! !
 
 SearchDialog initialize!