Skip to content

Commit

Permalink
Open global config from template gui at correct location
Browse files Browse the repository at this point in the history
When opening template repo settings, open at those template
repo settings, and not at the "General" page.

fixes QubesOS/qubes-issues#9530
requires QubesOS/qubes-desktop-linux-manager#227
  • Loading branch information
marmarta committed Nov 19, 2024
1 parent 4aee918 commit 293fc93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qubesmanager/qvm_template_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@ def open_global_config(self, *_args):
"""
Run global config in foreground (blocking)
"""
subprocess.call('qubes-global-config')
subprocess.call(
['qubes-global-config', '-o', 'updates#template_repositories'])
self.refresh()

def _get_selected_item(self) -> typing.Optional[TreeItem]:
Expand Down

0 comments on commit 293fc93

Please sign in to comment.