diff --git a/loader/src/loader/SettingNodeV3.cpp b/loader/src/loader/SettingNodeV3.cpp index 1985df9b..a02f4701 100644 --- a/loader/src/loader/SettingNodeV3.cpp +++ b/loader/src/loader/SettingNodeV3.cpp @@ -351,6 +351,10 @@ bool StringSettingNodeV3::init(std::shared_ptr setting, float w }); m_input->setScale(.7f); m_input->setString(this->getSetting()->getValue()); + if (auto filter = this->getSetting()->getAllowedCharacters()) { + m_input->setFilter(*filter); + } + this->getButtonMenu()->addChildAtPosition(m_input, Anchor::Center); if (setting->getEnumOptions()) {