Try this:

Code:
on *:dialog:listme:sclick:901:{
  if (!$did(100).sel) || (!$did(100).lines) { 
    did -b listme 901 
    return
  }
  did -d listme 100 $did(100).sel
  did -b listme 901
}


It's not very logical to try and delete the selected item and THEN check if there's one selected :tongue: