mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 10:00:29 +00:00
fix: save_on_toggle
This commit is contained in:
parent
9b09f72cef
commit
a539f664fd
@ -97,6 +97,9 @@ function HarpoonUI:toggle_quick_menu(list)
|
|||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
if list == nil or self.win_id ~= nil then
|
if list == nil or self.win_id ~= nil then
|
||||||
|
if self.settings.save_on_toggle then
|
||||||
|
self:save()
|
||||||
|
end
|
||||||
self:close_menu()
|
self:close_menu()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user