From ae35d258c54497aea4ef331b5ff407d938a0b3ef Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Thu, 11 Aug 2016 11:57:35 +0000 Subject: [PATCH] Small bakcup. Image is becoming unresponsive with last test and a little slower after loading Komitter. --- repository/Grafoscopio/GrafoscopioNotebook.class.st | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repository/Grafoscopio/GrafoscopioNotebook.class.st b/repository/Grafoscopio/GrafoscopioNotebook.class.st index 4f20eab..5230907 100644 --- a/repository/Grafoscopio/GrafoscopioNotebook.class.st +++ b/repository/Grafoscopio/GrafoscopioNotebook.class.st @@ -155,6 +155,7 @@ GrafoscopioNotebook >> initializeWidgets [ tree childrenBlock: [:node | node children]; displayBlock: [:node | node title ]. + tree whenBuiltDo: [ tree selectedItem: (tree roots first)"; takeHighlight; yourself" ]. self focusOrder add: tree; add: header; @@ -522,7 +523,7 @@ GrafoscopioNotebook >> tree: anObject [ GrafoscopioNotebook >> updateBodyFor: item [ item ifNotNil: [ self changeBody: item ] - ifNil: [ self inform: 'Nil node' ] + ifNil: [ ] ] { #category : #operation }