bleh not to open new thread...

i have little craps with menu of window

basicaly i want detection of existing lines in side sort listbox
if there are none lines there, then script should halt (if user double clicks in normal window)
but instead it doesnt :P

why ?

Code:
menu @Window { 
  dclick { 
    if ($line(@Window,1,1) != 0) { 
    do some stuff
    }
    else { halt }
  }
}



The harder I chase my dreams the more I experience the time for smiles and tears...