X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBOutputPage.py;h=77ef748cdb9132dd82fbbc2a7ee799344d95dbcb;hb=3f3f2c46a3cadf8383ae18a5f22a41a5748298e5;hp=dcfcf38918ae423710f01e4afd3d183fc2c613f5;hpb=df3bd7f742da8c015304fa21e01eb966ff76a089;p=bertos.git diff --git a/wizard/BOutputPage.py b/wizard/BOutputPage.py index dcfcf389..77ef748c 100644 --- a/wizard/BOutputPage.py +++ b/wizard/BOutputPage.py @@ -71,11 +71,14 @@ class BOutputPage(BWizardPage): "Classic BeRTOS makefile based project", True, False) scrollLayout.addWidget(group) + plugin_list = self.plugins() for plugin in self.availablePlugins(): module = bertos_utils.loadPlugin(plugin) + selected = False + if plugin in plugin_list: selected = True group, check = self.createNewOutput(module.PLUGIN_NAME, module.PLUGIN_DESCRIPTION, - True, True) + selected, True) scrollLayout.addWidget(group) self._plugin_dict[check] = plugin scrollLayout.addStretch() @@ -101,6 +104,7 @@ class BOutputPage(BWizardPage): for checkBox, plugin in self._plugin_dict.items(): if checkBox.checkState() == Qt.Checked: plugins.append(plugin) + self.setPlugins(plugins) self.setProjectInfo("OUTPUT", plugins) ####