Skip to content

Commit 4216063

Browse files
committed
fix widget name
1 parent 22842e4 commit 4216063

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

docs/gui/mass-remove.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Overlay
2626
This tool also provides one overlay that is managed by the `overlay`
2727
framework.
2828

29-
massremovetoolbar
30-
~~~~~~~~~~~~~~~~~
29+
gui/mass-remove.toolbar
30+
~~~~~~~~~~~~~~~~~~~~~~~
3131

32-
The ``mass-remove.massremovetoolbar`` overlay adds a button to the toolbar at the bottom of the
33-
screen when eraser mode is active. It allows you to conveniently open the ``gui/mass-remove``
34-
interface.
32+
The ``gui/mass-remove.toolbar`` overlay adds a button to the toolbar at the
33+
bottom of the screen when eraser mode is active. It allows you to conveniently
34+
open the ``gui/mass-remove`` interface.

gui/mass-remove.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,7 @@ function MassRemoveToolbarOverlay:onInput(keys)
480480
return MassRemoveToolbarOverlay.super.onInput(self, keys)
481481
end
482482

483-
OVERLAY_WIDGETS = {massremovetoolbar=MassRemoveToolbarOverlay}
484-
483+
OVERLAY_WIDGETS = {toolbar=MassRemoveToolbarOverlay}
485484

486485
if dfhack_flags.module then
487486
return

0 commit comments

Comments
 (0)