diff --git a/app/src/main/java/gui/SudokuRenderer.java b/app/src/main/java/gui/SudokuRenderer.java index b246a80..7b66580 100644 --- a/app/src/main/java/gui/SudokuRenderer.java +++ b/app/src/main/java/gui/SudokuRenderer.java @@ -126,7 +126,7 @@ public class SudokuRenderer { ImGui.pushStyleColor(ImGuiCol.Button, new ImVec4(blockColor.r, blockColor.g, blockColor.b, 1.0f)); String cellText = ""; if (symbol != -1) - cellText += Options.Symboles.getSymbols().get(cell.getSymbolIndex()); + cellText += Options.Symboles.getSymbols().get(symbol); if (ImGui.button(cellText + "##" + index, cellSize) && cell.isMutable()) { ImGui.openPopup("editPopup"); currentCell = cell;