diff --git a/docs/changelog.txt b/docs/changelog.txt index 294818c74..614f6f165 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -38,6 +38,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: - `embark-assistant`: improved performance of surveying - `quickfort`: creating zones no longer causes eventual crashes - `search`: fixed crash when searching the ``k`` sidebar and navigating to another tile with certain keys, like ``<`` or ``>`` +- `stockflow`: fixed ``j`` character being intercepted when naming stockpiles ## Misc Improvements - `buildingplan`: set global settings from the ``DFHack#`` prompt: e.g. ``buildingplan set boulders false`` diff --git a/plugins/stockflow.cpp b/plugins/stockflow.cpp index 06635d8c0..22e4abdf9 100644 --- a/plugins/stockflow.cpp +++ b/plugins/stockflow.cpp @@ -266,6 +266,9 @@ struct stockflow_hook : public df::viewscreen_dwarfmodest { typedef df::viewscreen_dwarfmodest interpose_base; bool handleInput(set *input) { + if (Gui::inRenameBuilding()) + return false; + building_stockpilest *sp = get_selected_stockpile(); if (!sp) return false;