title stack should be LIFO not FIFO

This commit is contained in:
Kovid Goyal
2018-08-29 10:00:15 +05:30
parent 3067103b18
commit 92d06b3088

View File

@@ -419,7 +419,7 @@ class Window:
if title:
if pop:
if self.title_stack:
self.child_title = self.title_stack.popleft()
self.child_title = self.title_stack.pop()
self.title_updated()
else:
if self.child_title: