File tree Expand file tree Collapse file tree
src/mapclient/tools/pluginwizard Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ def getConfig(self):
414414 row_index = 0
415415 while row_index < self ._options .configCount ():
416416 label = self ._options .getConfig (row_index )[0 ]
417- widgets_string += CONFIGURE_DIALOG_LINE .format (row = row_index , label = label + ': ' )
417+ widgets_string += CONFIGURE_DIALOG_LINE .format (row = row_index , label = label + ': ' )
418418 config = self ._options .getConfig (row_index )
419419 set_config_string += ' self._ui.lineEdit{0}.setText(config[\' {1}\' ])\n ' .format (row_index , config [0 ])
420420 get_config_string += ' config[\' {1}\' ] = self._ui.lineEdit{0}.text()\n ' .format (row_index , config [0 ])
@@ -568,7 +568,7 @@ def getConfig(self, index):
568568 return self ._configs [index ]
569569
570570 def addConfig (self , label , value ):
571- if label == 'identifier' :
571+ if label . lower () == 'identifier' :
572572 self ._identifierConfig = True
573573 self ._configs .append ([label , value ])
574574
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ def validate(self):
245245 <property name="title">
246246 <string/>
247247 </property>
248- <layout class="QFormLayout" name="formLayout">{1} </layout>
248+ <layout class="QFormLayout" name="formLayout">{1}</layout>
249249 </widget>
250250 </item>
251251 <item row="1" column="0">
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def accept(self):
129129 row_index += 1
130130
131131 if self .page (3 )._ui .identifierCheckBox .isChecked ():
132- self ._options .addConfig ('identifier ' , '' )
132+ self ._options .addConfig ('Identifier ' , '' )
133133
134134 configs_table = self .page (3 )._ui .configTableWidget
135135 row_index = 0
You can’t perform that action at this time.
0 commit comments