Small bakcup. Image is becoming unresponsive with last test and a little slower after loading Komitter.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2016-08-11 11:57:35 +00:00
parent 6024ef8058
commit ae35d258c5

View File

@ -155,6 +155,7 @@ GrafoscopioNotebook >> initializeWidgets [
tree tree
childrenBlock: [:node | node children]; childrenBlock: [:node | node children];
displayBlock: [:node | node title ]. displayBlock: [:node | node title ].
tree whenBuiltDo: [ tree selectedItem: (tree roots first)"; takeHighlight; yourself" ].
self focusOrder self focusOrder
add: tree; add: tree;
add: header; add: header;
@ -522,7 +523,7 @@ GrafoscopioNotebook >> tree: anObject [
GrafoscopioNotebook >> updateBodyFor: item [ GrafoscopioNotebook >> updateBodyFor: item [
item item
ifNotNil: [ self changeBody: item ] ifNotNil: [ self changeBody: item ]
ifNil: [ self inform: 'Nil node' ] ifNil: [ ]
] ]
{ #category : #operation } { #category : #operation }