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
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -419,7 +419,7 @@ def manipulate_title_stack(self, pop, title, icon):
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: