Skip to content

Commit

Permalink
Fix to be able to open "Edit layout" dialog even after deck overview …
Browse files Browse the repository at this point in the history
…opened
  • Loading branch information
tadd authored and Cimbali committed Dec 27, 2024
1 parent e092d0c commit 54a85c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pympress/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ def load_layout(self, new):
"""
if new is None:
new = self.layout_name(self.notes_mode)
else:
elif new != 'deck-overview':
self.layout_editor.set_current_layout(new)

pane_handles = self.replace_layout(self.config.get_layout(new), self.p_central,
Expand Down

0 comments on commit 54a85c6

Please sign in to comment.