From 4756aabbd1c7b16e31c9814b8e7f1586dfd3bf22 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 21 Apr 2009 08:30:12 +0000 Subject: [PATCH] Add support for toolchains stored in the windows registry git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2594 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BToolchainPage.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index 2587cf20..c012a200 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -136,6 +136,11 @@ class BToolchainPage(BWizardPage): Fills the toolchain list with the toolchains stored in the QSettings. """ toolchains = self.toolchains() + if os.name == "nt": + import winreg_importer + stored_toolchains = winreg_importer.getBertosToolchains() + for toolchain in stored_toolchains: + toolchains[toolchain] = True sel_toolchain = self.projectInfo("TOOLCHAIN") for key, value in toolchains.items(): item = QListWidgetItem(key) -- 2.25.1