Permalink
Browse files

fix a crash bug

  • Loading branch information...
angal committed Jan 5, 2010
1 parent 0e28b2b commit 0e459c6143a6576d3ba866fe2cce6207a6b0b53c
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/ae-editor/ae-editor.rb
@@ -836,7 +836,7 @@ def build_tree(_sel=nil)
build_tree_from_node(@ss.root, _label_sel)
if @selected
@tree_exp.selection_add(@selected.rif)
- @tree_exp.open_tree(@selected.parent.rif)
+ @tree_exp.open_tree(@selected.parent.rif) if @selected.parent.rif != 'root'
@tree_exp.see(@selected.rif)
end
end
@@ -2744,7 +2744,6 @@ def check_file_last_access_time
'title' => '(Arcadia) Libs', 'parent' => @text,
'message' => msg) == 'yes'
reload
-
else
@file_last_access_time = ftime
end

0 comments on commit 0e459c6

Please sign in to comment.