From 293fc933807433c753ded3d45a60c096bcaaba08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Tue, 19 Nov 2024 16:33:46 +0100 Subject: [PATCH] Open global config from template gui at correct location When opening template repo settings, open at those template repo settings, and not at the "General" page. fixes QubesOS/qubes-issues#9530 requires https://github.com/QubesOS/qubes-desktop-linux-manager/pull/227 --- qubesmanager/qvm_template_gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubesmanager/qvm_template_gui.py b/qubesmanager/qvm_template_gui.py index 021adff2..02d8c11d 100644 --- a/qubesmanager/qvm_template_gui.py +++ b/qubesmanager/qvm_template_gui.py @@ -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]: