Quote:
uh oh...

so while trying to have checkup if no lines are in list
it disables button but in same time if nothing is selected
even there are things to select it disables button again...

lol?

so is this like.. only way it can be ?


I would say no it doesnt require that something be selected, I have not tested it though.

post your code here and one of will have a solution.

However I think you cant check to see if ID 46 has any lines
on :dialog:NAME:sclick:46:{
if ($did(!$dname,46).lines) { did -b $dname 49 }
else {
did -e $dname 49
code to do something with $did(46).seltext
}