Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py

changeset 6188
5a6ae3be31e6
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
equal deleted inserted replaced
6187:2cc7e3629784 6188:5a6ae3be31e6
61 # get a copy of the defaults to store the user settings 61 # get a copy of the defaults to store the user settings
62 self.parameters = copy.deepcopy(self.defaults) 62 self.parameters = copy.deepcopy(self.defaults)
63 63
64 # combine it with the values of parms 64 # combine it with the values of parms
65 if parms is not None: 65 if parms is not None:
66 for key, value in list(parms.items()): 66 self.parameters.update(parms)
67 self.parameters[key] = parms[key]
68 self.parameters['outputFile'] = \ 67 self.parameters['outputFile'] = \
69 Utilities.toNativeSeparators(self.parameters['outputFile']) 68 Utilities.toNativeSeparators(self.parameters['outputFile'])
70 69
71 self.recursionCheckBox.setChecked(self.parameters['useRecursion']) 70 self.recursionCheckBox.setChecked(self.parameters['useRecursion'])
72 self.includePrivateCheckBox.setChecked( 71 self.includePrivateCheckBox.setChecked(

eric ide

mercurial