about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/local/container.nim1
-rw-r--r--src/local/pager.nim2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/local/container.nim b/src/local/container.nim
index d7ee5c64..9b26f9e5 100644
--- a/src/local/container.nim
+++ b/src/local/container.nim
@@ -1347,7 +1347,6 @@ proc onload*(container: Container, res: int) =
   elif res == -1:
     container.loadState = lsLoaded
     container.setLoadInfo("")
-    container.triggerEvent(cetStatus)
     container.needslines = true
     container.triggerEvent(cetLoaded)
     container.iface.getTitle().then(proc(title: string) =
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 51c2f89f..24f1ad0f 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1461,7 +1461,7 @@ proc handleEvent0(pager: Pager; container: Container; event: ContainerEvent):
         referrer = pager.container)
   of cetStatus:
     if pager.container == container:
-      pager.refreshStatusMsg()
+      pager.showAlerts()
   of cetSetLoadInfo:
     if pager.container == container:
       pager.onSetLoadInfo(container)