From 9440d87c88ef4bd26b3194739748700b7b62564e Mon Sep 17 00:00:00 2001 From: AllenDang Date: Fri, 1 Jan 2021 20:57:17 +0800 Subject: [PATCH] Rename Main function of MasterWindow to Run. --- MasterWindow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MasterWindow.go b/MasterWindow.go index 35e6a4b4..2d6591c9 100644 --- a/MasterWindow.go +++ b/MasterWindow.go @@ -233,7 +233,7 @@ func (w *MasterWindow) SetDropCallback(cb func([]string)) { // Call the main loop. // loopFunc will be used to construct the ui. -func (w *MasterWindow) Main(loopFunc func()) { +func (w *MasterWindow) Run(loopFunc func()) { Run(func() { w.updateFunc = loopFunc