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 committed by SantiagoBragagnolo
parent 314e7e8374
commit 1737e5b14d
1 changed files with 3 additions and 2 deletions

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 ]