diff --git a/src/commands/cmd_palette_editor.cpp b/src/commands/cmd_palette_editor.cpp index 96044b019..493349d4a 100644 --- a/src/commands/cmd_palette_editor.cpp +++ b/src/commands/cmd_palette_editor.cpp @@ -389,6 +389,9 @@ void PaletteEntryEditor::setColor(const Color& color) else if (j-i+1 == i2-i) { m_entryLabel.setTextf(" Range: %d-%d", i, j); } + else if (i == entries.size()) { + m_entryLabel.setText(" No Entry"); + } else { m_entryLabel.setText(" Multiple Entries"); }