Skip to content

Commit

Permalink
fix: fix typo with binding list
Browse files Browse the repository at this point in the history
  • Loading branch information
gwatcha committed Aug 7, 2020
1 parent f7da53a commit 242c34f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/gui/binding_list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function getActionTypes()
end

function makeBindingListWindow()
local prev_binding_list = state_interface.getField("binding_list")
local prev_binding_list = state_interface.getField("binding_list_window")
if not prev_binding_list then
prev_binding_list = state_machine_constants.reset_state.binding_list
end
Expand Down Expand Up @@ -334,7 +334,7 @@ function BindingList:saveState()
type_filter_active = self.values.type_filter_active,
type_filter = self.values.type_filter
}
state_interface.setField("binding_list", binding_list_state)
state_interface.setField("binding_list_window", binding_list_state)
end

function BindingList:new(state)
Expand Down Expand Up @@ -385,7 +385,7 @@ function tablelength(T)
end

function BindingList:rowIsFiltered(row)
if self.values.query ~= "" and row.match_score < 0 then
if self.values.query ~= "" and row.match_score < -3 then
return true
end

Expand Down

0 comments on commit 242c34f

Please sign in to comment.