From 56f95368154bd8979b062231e2fe1c8e8c1eee70 Mon Sep 17 00:00:00 2001 From: kevin <55982173+veinfx@users.noreply.github.com> Date: Tue, 24 Mar 2026 13:44:56 +0900 Subject: [PATCH] Fix Desktop About to show the selected project is config --- python/tk_desktop/desktop_window.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/python/tk_desktop/desktop_window.py b/python/tk_desktop/desktop_window.py index 3ff7e684..cd85ccb9 100644 --- a/python/tk_desktop/desktop_window.py +++ b/python/tk_desktop/desktop_window.py @@ -1920,13 +1920,14 @@ def handle_about(self): versions["Engine"] = engine.version versions["Core"] = engine.sgtk.version - if engine.sgtk.configuration_descriptor: - # Certain versions of core don't like configuration's without an - # info.yml, so tolerate it. + descriptor = self._current_pipeline_descriptor or engine.sgtk.configuration_descriptor + + if descriptor: + # Use the selected project config first. + # Keep the About dialog working even if info.yml metadata cannot be read. + try: - versions[engine.sgtk.configuration_descriptor.display_name] = ( - engine.sgtk.configuration_descriptor.version - ) + versions[descriptor.display_name] = descriptor.version except Exception: pass