still the same issue.
here is the entire mainCopde.py
window = None
def show():
global _window
if _window is None:
cont = uiCode.ListWindowController()
def refresh():
listWidget.clear()
items = pmc.selected()
for item in items:
newItem = QtGui.QListWidgetItem( item.nodeName())
listWidget.addItem(newItem)
print "This printed fine...
_window.refreshClicked.connect(refresh)
_window.show()
The rest is pretty much just a UI setup with a custom signal as stated in
post One.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/fa880722-405e-4d0d-8a2a-1ab1b8e3e04a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.