mIRC Home    About    Download    Register    News    Help

Print Thread
$sdir + custom dialog bug #268826 08/05/21 12:19 PM
Joined: Dec 2019
Posts: 44
Q
quartz Offline OP
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Dec 2019
Posts: 44
if you have this, which is from a dialog button to set a dir


on 1:dialog:buttons:sclick:164: {
set %selectdir $$sdir(c:\path\somepath\subdirpath\,select dir)
}


and you hit cancel when it asks for the dir, the dialog disappears

Re: $sdir + custom dialog bug [Re: quartz] #268843 08/05/21 06:19 PM
Joined: Dec 2002
Posts: 4,936
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,936
Thanks for your bug report. I have not been able to reproduce this so far. I created a custom dialog, added an sclick event, and used your set statement in it. If I click cancel in the $sdir() dialog, it just closes the $sdir() dialog for me.

Can you create a minimal custom dialog script that reproduces this issue for you?