From 7d8628af29da227028beb58c50153081dd7d1ebb Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 8 Jun 2010 12:50:48 +0000 Subject: [PATCH] Remember the previously selected toolchain when coming back from the module page. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3901 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BToolchainPage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index 65505fb4..ff1891ff 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -111,7 +111,7 @@ class BToolchainPage(BWizardPage): self.setupUi() self._populateToolchainList() if len(self._valid_items) >= 1: - self.pageContent.toolchainList.setCurrentItem(self._valid_items[0]) + self.pageContent.toolchainList.setCurrentItem(self.pageContent.toolchainList.currentItem() or self._valid_items[0]) #### -- 2.25.1