Skip to content

Commit

Permalink
use booleans for the find file preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Feb 17, 2010
1 parent 7ebddd2 commit 70ed07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/project/lib/project/find_file_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def self.clear
if @expect_a_clear
@expect_a_clear = false
else
unless storage['recache_on_refocus'] == 'no'
if storage['clear_cache_on_refocus']
@cached_dir_lists.clear
end
end
Expand Down Expand Up @@ -40,7 +40,7 @@ def initialize win
def self.storage
@storage ||= begin
storage = Plugin::Storage.new('find_file_dialog')
storage.set_default('recache_on_refocus', 'yes')
storage.set_default('clear_cache_on_refocus', true)
storage
end
end
Expand Down

0 comments on commit 70ed07d

Please sign in to comment.