Update src/main/java/dev/sillyangel/calc/utils.java
All checks were successful
Build the Jar / build (push) Successful in 8s
All checks were successful
Build the Jar / build (push) Successful in 8s
This commit is contained in:
@@ -204,7 +204,7 @@ public class utils {
|
|||||||
historyDialog.setLocationRelativeTo(this.ci);
|
historyDialog.setLocationRelativeTo(this.ci);
|
||||||
historyDialog.setLayout(new BorderLayout(10, 10));
|
historyDialog.setLayout(new BorderLayout(10, 10));
|
||||||
|
|
||||||
List<String> historyList = history.getCalculationHistory();
|
List<String> historyList = ci.history.getCalculationHistory();
|
||||||
|
|
||||||
if (historyList.isEmpty()) {
|
if (historyList.isEmpty()) {
|
||||||
JLabel emptyLabel = new JLabel("No calculation history yet", SwingConstants.CENTER);
|
JLabel emptyLabel = new JLabel("No calculation history yet", SwingConstants.CENTER);
|
||||||
|
|||||||
Reference in New Issue
Block a user