From: Kevin A. <al...@se...> - 2004-09-12 17:26:28
|
On Sep 12, 2004, at 10:05 AM, Gregory Pi=F1ero wrote: > Sorry, I forgot to describe the bug. This is a specific problem only=20= > with the resource editor. > > Basically what happens is I open resource editor, select 'Choice' (or=20= > 'Combobox'), then I go to the properties window, select items, type in=20= > [1,2,3] (or ['1','2','3'] either causes it), click update, then I go=20= > to stringselection, press the drop down button and see 1,2,3. I=20 > choose 1, and nothing seems to happen, then I hit update, and still=20 > nothing happens. Finally I hit save and code is generated without a=20= > stringselection specified. > > Does that explain it better? > > -Greg > Yep, that's a real bug. Line 205 of=20 resourceEditor/modules/propertyEditor.py should be: if propName not in ['label', 'stringSelection', 'text',=20 'toolTip']: and line 364 should be: if propName in ['label', 'stringSelection', 'text', 'toolTip']=20= or propName in checkItems: ka= |