ui.gadgets.worlds: deactivate world before calling the ui-error-hook

db4
Joe Groff 2010-02-23 22:55:57 -08:00
parent 32b42185e6
commit b7727bc695
1 changed files with 1 additions and 2 deletions

View File

@ -217,8 +217,7 @@ ui-error-hook [ [ rethrow ] ] initialize
dup [ draw-world* ] with-gl-context
flush-layout-cache-hook get call( -- )
] [
over <world-error> ui-error
f >>active? drop
swap f >>active? <world-error> ui-error
] recover
] with-variable
] [ drop ] if ;