From c9bb1ddfd770dd6c535bdef4ca4676b18bc41fae Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Sun, 14 Sep 2025 21:54:06 -0400 Subject: [PATCH] Fix "disable/enable all" affecting lands not in the list --- landlock.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/landlock.cpp b/landlock.cpp index fedf0bd7..656fcd9d 100644 --- a/landlock.cpp +++ b/landlock.cpp @@ -1042,10 +1042,11 @@ EX void customize_land_list() { if(use_custom_land_list) { dialog::addItem("disable/enable all", 'D'); - dialog::add_action([] { + std::vector ll(landlist); + dialog::add_action([ll] { int qty = 0; - for(int i=0; i