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