--- rbbr-svn/lib/rbbr/ui/browselist.rb 2008-03-24 19:43:53.499062021 +0100 +++ rbbr-svn-modified/lib/rbbr/ui/browselist.rb 2008-03-24 19:57:30.981433082 +0100 @@ -45,12 +45,15 @@ end signal_connect("cursor-changed") do - data = selection.selected.path.to_str - if @first - @first = false - save_memento(nil) - elsif data - save_memento(data) + selected = selection.selected + if selected + data = selected.path.to_str + if @first + @first = false + save_memento(nil) + elsif data + save_memento(data) + end end end