diff --git a/main.go b/main.go index ddff70e..e438df4 100644 --- a/main.go +++ b/main.go @@ -59,7 +59,6 @@ func main() { } calculations = append([]*calculation{c}, calculations...) historyList.Refresh() - diceInputEntry.SetText("") } } @@ -134,6 +133,7 @@ func main() { return } ShowStatisticsWindow(diceInput) + roll() }), newCustomButton2(".", func() { diceInputEntry.SetText(diceInputEntry.Text + ".")