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 c48927c3..ca5461bd 100644 --- a/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp +++ b/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp @@ -253,7 +253,7 @@ void PaletteEditorImGui::drawColorEditor() noexcept { std::ignore = pushCommand( m_pal, m_page, m_selectedColorRow); } - if (!inputFocused) { + if (!inputFocused && !m_pageRename.isOpen()) { auto const lastColor = largestPage(m_pal) - 1; if (ImGui::IsKeyPressed(ImGuiKey_0, false)) { m_selectedColorRow = ox::min(9, lastColor);