Fix for issue 284

Assertion error was being triggered by passing an int to a function expecting type Item*.  

Looks like it was an oversight in commit b45dcf7 when the dialog was modified to use ui::ListItem