From 2f15d258a74a4c65fd29a9fdb1038c1bfaf2f891 Mon Sep 17 00:00:00 2001 From: Black-Talon <150195674+xBlackTalonX@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:23:20 -0700 Subject: [PATCH] changed buildingplan filterselection hotkey for reseting the filter to ctrl-x (from shift-x which conflicted with increasing the minimum quality) --- docs/changelog.txt | 1 + plugins/lua/buildingplan/filterselection.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 7d4bd69ed..1399fef2d 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -65,6 +65,7 @@ Template for new versions: - `caravan`: price of vermin swarms correctly adjusted down. a stack of 10000 bees is worth 10, not 10000 - `sort`: when filtering out already-established temples in the location assignment screen, also filter out the "No specific deity" option if a non-denominational temple has already been established - RemoteServer: continue to accept connections as long as the listening socket is valid instead of closing the socket after the first disconnect +- `buildingplan`: edit filter interface now uses ctrl-x to reset the filter to avoid conflict with increasing the filter's minimum quality (shift-x) ## Misc Improvements - `buildingplan`: display how many items are available on the planner panel diff --git a/plugins/lua/buildingplan/filterselection.lua b/plugins/lua/buildingplan/filterselection.lua index e25b58eec..81cc65efb 100644 --- a/plugins/lua/buildingplan/filterselection.lua +++ b/plugins/lua/buildingplan/filterselection.lua @@ -234,7 +234,7 @@ function QualityAndMaterialsPage:init() frame={l=30, t=2}, label='Reset filter', auto_width=true, - key='CUSTOM_SHIFT_X', + key='CUSTOM_CTRL_X', on_activate=self:callback('clear_filter'), }, },