changed: #current
authorClaus Gittinger <cg@exept.de>
Tue, 23 Aug 2011 18:29:13 +0200
changeset 792 6e8464f6c4c1
parent 791 ed0b6f483191
child 793 c5be702c9fa0
changed: #current
SVN__Configuration.st
--- a/SVN__Configuration.st	Fri Aug 19 13:34:26 2011 +0200
+++ b/SVN__Configuration.st	Tue Aug 23 18:29:13 2011 +0200
@@ -119,12 +119,17 @@
 
 current
 
-    Current ifNil:
-        [Current := UserPreferences current svnCurrentConfiguration].
+    Current ifNil:[
+        "/ cg: seems to be called BEFORE that method is there (sometimes?)
+        (UserPreferences implements:#svnCurrentConfiguration) ifTrue:[
+            Current := UserPreferences current svnCurrentConfiguration.
+        ]
+    ].
     ^Current
 
     "Created: / 09-01-2010 / 12:27:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 11-02-2010 / 16:15:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified (format): / 23-08-2011 / 18:29:02 / cg"
 !
 
 current: aConfiguration