View Full Version : confirmDialog behaving strangely

11 November 2012, 01:44 PM
this is very strange if insel evaluates to False, the confirmDialog doesnt shows up but if I remove the msg from the prompt and leave it empty the confirmDialog works normal

insel= cmds.textField('location',q=True,tx=True)
if not os.path.exists(insel):
msg="You either moved %s folder or renamed it\n Or the Drive that contained thhis folder is not connected.\nWould you like to delete from favorites?"%os.path.basename(insel)
reply=cmds.confirmDialog(t='Warning',msg="Selected favrite item not found on disk.\nDo you want to delete it?",button=['Yes','No'], defaultButton='Yes', cancelButton='No', dismissString='No' )
if reply =="Yes":

CGTalk Moderation
11 November 2012, 01:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.