Hello all,

Probably a bit of a simpler question but I am having some strange behaviour 
with my UI. I  have seen it before but I think I worked around it rather 
than actually figuring out why and how to stop it.

So when I press the export button in my UI and the process is complete I 
alert the user with a QInformation box. 

The problem arises when you press ok....the Export QPushButton stays 
depressed. It does not highlight anymore and when you press it again, 
although the functionality still works, it does not have the satisfying 
feel and look of being actually pressed.

I changed the info box so it was a standard message box and set the box to 
be non-modal and this fixed it but it is not what I am after.

Am I right in thinking it has something to do with the callback not 
returning properly?

The push button line is very simple: 
*btnExportSelection.pressed.connect(self.exportSelected)*

Cheers,

Ben

-- 
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/c1acad50-7232-41c0-b122-68cb03977320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to