From: arighi Date: Wed, 13 Oct 2010 11:11:11 +0000 (+0000) Subject: wizard: do not auto-detect number base for integer parameters X-Git-Tag: 2.6.0~5^2~95 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=e57f2c0437a4f7b437fa5795fadba7eb3565c626;p=bertos.git wizard: do not auto-detect number base for integer parameters The spinbox for int, long or unsigned long parameter must only support base-10 integers. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4425 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index f1eaad67..b03fca66 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -340,7 +340,7 @@ class BModulePage(BWizardPage): maximum = int(informations["max"]) spin_box.setRange(minimum, maximum) spin_box.setSuffix(suff) - spin_box.setValue(int(value.replace("L", "").replace("U", ""), 0)) + spin_box.setValue(int(value.replace("L", "").replace("U", ""))) self._control_group.addControl(index, spin_box)