From 465700e1961550bb3ea3002965d74bde652b346e Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 13 Jun 2024 16:11:07 +0200 Subject: [PATCH] getCurrentAddress fix in SlotLabel.java --- app/src/main/java/xl/gui/SlotLabel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/xl/gui/SlotLabel.java b/app/src/main/java/xl/gui/SlotLabel.java index d93e08d..0db84fa 100644 --- a/app/src/main/java/xl/gui/SlotLabel.java +++ b/app/src/main/java/xl/gui/SlotLabel.java @@ -32,7 +32,7 @@ public class SlotLabel extends ColoredLabel implements Observer { if (o instanceof XLModel) { XLModel xlModel = (XLModel) o; if (xlModel.containsKey(address)) { - String tempCurrentAdress = xlModel.getAddressContent(address); + String tempCurrentAdress = xlModel.getCurrentAddress(); xlModel.setCurrentAddress(address); String content = xlModel.getAddressValue(address); setText(content);