Documentation: Patch for a proper download of the tutorial.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2016-10-18 20:30:19 +00:00
parent 1e86f872c2
commit 017bc92252

View File

@ -411,8 +411,9 @@ GrafoscopioNotebook >> openFromUrlUI [
{ #category : #persistence }
GrafoscopioNotebook >> openTutorial [
| tutorial |
tutorial := (FileLocator documents / 'Grafoscopio/Docs/Es/Turiales/tutorial.ston' ) asFileReference.
| tutorial gfcDocs |
gfcDocs := GrafoscopioDocumentation current.
tutorial := (gfcDocs localPlace fullName, '/', (gfcDocs documents at: 1)) asFileReference.
tutorial exists
ifTrue: [self class new openFromFile: tutorial]
ifFalse: [ GrafoscopioGUI updateDocumentationUI ]