do only save if modified
authortz
Fri, 23 Jan 1998 15:26:35 +0100
changeset 465 1b55cc13793b
parent 464 dd67c1e99fed
child 466 daba7254ed49
do only save if modified
UIHelpTool.st
--- a/UIHelpTool.st	Fri Jan 23 15:12:07 1998 +0100
+++ b/UIHelpTool.st	Fri Jan 23 15:26:35 1998 +0100
@@ -440,10 +440,10 @@
     cls := self applicationClassAssociatedWith:aClass.
 
     cls isNil ifTrue:[
-        ^ self information:'no application class defined'.
+        ^ self information:'No application class defined!!'.
     ].
-    dictionary isEmpty ifTrue:[
-        ^ self information:'no help text defined'
+    dictionary isEmpty | isModified not ifTrue:[
+        ^nil
     ].
 
     superHelpSpecKeys := cls superclass helpSpec keys.