summaryrefslogtreecommitdiffstats
path: root/pkg/gui/updates.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/updates.go')
-rw-r--r--pkg/gui/updates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/updates.go b/pkg/gui/updates.go
index 70eea92a4..4357de1c1 100644
--- a/pkg/gui/updates.go
+++ b/pkg/gui/updates.go
@@ -32,7 +32,7 @@ func (gui *Gui) onBackgroundUpdateCheckFinish(newVersion string, err error) erro
if newVersion == "" {
return nil
}
- if gui.Config.GetUserConfig().Get("update.method") == "background" {
+ if gui.Config.GetUserConfig().Update.Method == "background" {
gui.startUpdating(newVersion)
return nil
}