Python typo: message and title swapped in PropertyListBox


#1

Hi…,

I am playing with Pythons userinterfaces and found that message and title are swapped in PropertyListBox:

PropertyListBox(items, values, title=None, message=None) <— current

PropertyListBox(items, values, message=None, title=None) <— should be

Cheers

Michael
www.flexiCAD.com


#2

Where are you seeing this?


#3

Good morning Marcus,

I get this in Rhino 5 for Windows 64-Bit SR12 in the Rhino Python Editor:

And here the result:

All the best

Michael
www.flexiCAD.com


#4

rs.PropertyListBox() is just calling this.

And this:

Gives this:

Perhaps I am blind, but I think assuming title means window’s title is the only mistake here. (Although I think one could say something like ‘unglücklich gewählt’ then…)


#5

Hi Marcus,

yes, and no big thing. But wrong to me, when I try the different userInterface functions in Python.

Take care

Michael
www.flexiCAD.com


(Dale Fugier) #6

@Michael_Meyer, this is incorrect as you’ve noted.

https://mcneel.myjetbrains.com/youtrack/issue/RH-38653

– Dale


(Dan Belcher) #7

RH-38653 is fixed in the latest WIP