Sorry!!! I realized that I have added in a line of code that blocks me from 
doing so :
if not self.ui.treeWidget_migrateAnmg.findItems(item.text(0), QtCore.Qt.
MatchExactly, 0)

But upon removing it, it has enables me to add multiple of the same items.



On Tuesday, February 17, 2015 at 1:30:53 AM UTC+8, Justin Israel wrote:
>
> Sure,  why not just run your add code N times? What's the blocking issue? 
>
> On Tue, 17 Feb 2015 12:25 AM likage <dissid...@gmail.com <javascript:>> 
> wrote:
>
>> This is slightly off topic but is it possible to add multiple of the same 
>> selection/items, in this case, for example I wanted to add 3 items of the 
>> same selection in my search filter into the QTreeWidget under the Migrate 
>> section?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to python_inside_maya+unsubscr...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/f3af7833-c0a8-4dc0-881a-8131be1bfffe%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/f3af7833-c0a8-4dc0-881a-8131be1bfffe%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/91cecabe-b51c-404f-a138-d6b10235aadd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to