diff --git a/main.go b/main.go index e87922f..af47269 100644 --- a/main.go +++ b/main.go @@ -55,7 +55,7 @@ func main() { diceRolls: diceRolls, result: fmt.Sprintf("= %s", strconv.FormatFloat(result, 'g', -1, 64)), } - calculations = append(calculations, c) + calculations = append([]*calculation{c}, calculations...) historyList.Refresh() diceInputEntry.SetText("") }