brmbar-gui-qt4/ItemEdit: Fix bug in UI cleanup