Skip to content

Commit

Permalink
Rename Main function of MasterWindow to Run.
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenDang committed Jan 1, 2021
1 parent ade6919 commit 9440d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MasterWindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9440d87

Please sign in to comment.