Skip to content

Commit

Permalink
Fix opening option dialog with specific page
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Jan 1, 2025
1 parent e96f282 commit 1605cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picard/ui/options/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ def __init__(self, default_page=None, parent=None):
self.pagename_to_item = {}
self.default_item = None
if not default_page:
default_pagename = config.persist['options_last_active_page']
self.add_pages(None, default_pagename, self.ui.pages_tree)
default_page = config.persist['options_last_active_page']
self.add_pages(None, default_page, self.ui.pages_tree)

# work-around to set optimal option pane width
self.ui.pages_tree.expandAll()
Expand Down

0 comments on commit 1605cac

Please sign in to comment.