ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

promptDialog tries to convert result to UI element #263

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
the default ui wrapping mechanism tries to cast the result of ui commands to a 
UI class, but this should not happen for promptDialog.

window('Create')
result = promptDialog(button=['Create'], defaultButton='Create')
print `result`

the result printed is ui.PromptDialog('Create'), but promptDialog is always 
supposed to return result text, not the name of a UI element.

Original issue reported on code.google.com by chad...@gmail.com on 18 Oct 2011 at 1:04