Minor polish

This commit is contained in:
Jean-Patrick Guerrero
2021-11-15 00:56:27 +01:00
parent f2248ae176
commit e60f986484
5 changed files with 25 additions and 14 deletions

View File

@ -120,8 +120,12 @@ i3.new_tab("inventory", {
data.confirm_trash = true
elseif fields.settings then
data.confirm_trash = nil
data.show_settings = true
if not data.show_settings then
data.confirm_trash = nil
data.show_settings = true
else
data.show_settings = nil
end
elseif fields.confirm_trash_yes or fields.confirm_trash_no then
if fields.confirm_trash_yes then