From e57f2c0437a4f7b437fa5795fadba7eb3565c626 Mon Sep 17 00:00:00 2001 From: arighi Date: Wed, 13 Oct 2010 11:11:11 +0000 Subject: [PATCH] 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 --- wizard/BModulePage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1