fix itemfinder checkbox initialization bug
This commit is contained in:
parent
160a9c0713
commit
f27c4e9ab4
2 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@ The **"Breaking Changes"** listed below are changes that have been made in the d
|
||||||
- Fix scripting API callback `onMapResized` not triggering.
|
- Fix scripting API callback `onMapResized` not triggering.
|
||||||
- Fix crash when importing AdvanceMap metatiles while `enable_triple_layer_metatiles` is enabled.
|
- Fix crash when importing AdvanceMap metatiles while `enable_triple_layer_metatiles` is enabled.
|
||||||
- Fix `File -> Open Project` not resolving folder shortcuts.
|
- Fix `File -> Open Project` not resolving folder shortcuts.
|
||||||
|
- Fix bug where "Requires Itemfinder" checkbox is being checked by wrong data.
|
||||||
|
|
||||||
## [5.0.0] - 2022-10-30
|
## [5.0.0] - 2022-10-30
|
||||||
### Breaking Changes
|
### Breaking Changes
|
||||||
|
|
|
@ -872,7 +872,7 @@ void HiddenItemFrame::initialize() {
|
||||||
|
|
||||||
// underfoot
|
// underfoot
|
||||||
if (projectConfig.getHiddenItemRequiresItemfinderEnabled()) {
|
if (projectConfig.getHiddenItemRequiresItemfinderEnabled()) {
|
||||||
this->check_itemfinder->setChecked(this->hiddenItem->getQuantity());
|
this->check_itemfinder->setChecked(this->hiddenItem->getUnderfoot());
|
||||||
}
|
}
|
||||||
this->hideable_itemfinder->setVisible(projectConfig.getHiddenItemRequiresItemfinderEnabled());
|
this->hideable_itemfinder->setVisible(projectConfig.getHiddenItemRequiresItemfinderEnabled());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue