diff --git a/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp b/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp index 5355da47..567b25f6 100644 --- a/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp +++ b/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp @@ -258,7 +258,7 @@ void PaletteEditorImGui::drawColorEditor() noexcept { } if (newName) { std::ignore = pushCommand( - m_pal, m_selectedColorRow, ox::String{newName}); + m_pal, m_selectedColorRow, static_cast(newName.text)); } }