Skip to content

Commit f76a691

Browse files
committed
add missed fyne.Do for showing new version dialog
1 parent 3b93519 commit f76a691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/mainwindow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func (m *MainWindow) RunOnServerConnectedTasks(app *backend.App, displayAppName
269269
m.App.UpdateChecker.OnUpdatedVersionFound = func() {
270270
t := m.App.UpdateChecker.VersionTagFound()
271271
if t != app.VersionTag() {
272-
m.ShowNewVersionDialog(displayAppName, t)
272+
fyne.Do(func() { m.ShowNewVersionDialog(displayAppName, t) })
273273
}
274274
m.App.Config.Application.LastCheckedVersion = t
275275
}

0 commit comments

Comments
 (0)