From db2c20176c81b9527f386faa59a919213ba013e9 Mon Sep 17 00:00:00 2001 From: Grimsace Date: Thu, 19 Feb 2026 14:00:14 -0600 Subject: [PATCH] made a roll happen when graph button is clicked so it's in the history and made function bar functions persistant unless manually removed/changed or the clear button is hit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + ".")